distribution code should be compiled into ES5
See original GitHub issueI have problem to minify my code during build process as dependency query-string
file has ES6 syntax contained into index.js
Error
Failed to compile.
Failed to minify the code from this file:
./node_modules/query-string/index.js:8
More on issue:
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Do We Still Need to Compile ES6 JavaScript Code Into ES5 in ...
If it was compiled to ES5 by Babel, it would use the concat function to copy an array: var array1 = [1, 2,...
Read more >React/ES6 Webpack config won't compile to ES5
I'm trying to build an React app with a server and I'm having issues with configuring Webpack. My server code is in an...
Read more >You might not need to transpile your JavaScript - freeCodeCamp
JSX at its core is a transformation of XHTML to JS code and doesn't necessary need a full transpiler like Babel. Besides, if...
Read more >Stencil Config
Stencil is traditionally used to compile many components into an app, and each component comes with its own compartmentalized styles. However, it's still...
Read more >Why don't we have a transpiler from ES5 to ES6/ES7? - Quora
Lebab transpiles your ES5 code to ES6/ES7. It does exactly the opposite of what Babel does. So you can go ahead and Lebab...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you want support for Webpack, use v5 instead of v6.
Seems to be broken in 6.0.0 too 😦