Answer the question
In order to leave comments, you need to log in
Why doesn't ES6+ -> ES5 compile?
On the screen is a fragment of my package.json. I'm trying to compile the main.js file from dist / js to app / js with the npm run build command
. As a result, the file is stupidly copied without compiling. Isn't the simplest compilation from 6 to 5 set by default? Can Babel just copy the file?!
Answer the question
In order to leave comments, you need to log in
No, you didn't specify that the file should go through babel-loader
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question