in the webpack template project of vue, I gave the node_module directory include to babel-loader for es6-> es5 translation of the referenced module. As a result, warnings and errors occurred when npm run build
, errors and warnings were numerous and repeated. I will show several screenshots of different error areas below.
I opened a github project to solve this problem. The project is very small, and after installing the dependencies, you can build to reproduce the errors.
https://github.com/Yatoo2018/.
babelrc