[es-dev-server] --compatibility all does not resolve `export {};`
See original GitHub issueWhen the .js file contains an empty export {};
line and --compatibility all
is used, the line is not transformed causing an error in old browsers.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
open-wc/es-dev-server - GitHub
es-dev-server is a static web server. When a request is made from the browser for /foo/bar.js it will try and find this file...
Read more >Developing Without a Build (2): es-dev-server
If compatibility mode is enabled, the dev server takes care of adapting your import maps to work with these libraries, making this a...
Read more >es-dev-server - npm
Start using es-dev-server in your project by running `npm i es-dev-server`. There are 18 ... This setup does no code transformation at all....
Read more >How can I use ES6 in webpack.config.js? - Stack Overflow
I don't use babel because webpack itself already supports ES6 module syntax, and my project doesn't need to be compatible with ES5. It's...
Read more >Using NodeJs packages in the browser with import maps
Until import maps, the web has had no native ability to do this kind ... not be compatible with the browser, back before...
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
@daKmoR, I have raised an issue with Babel team: https://github.com/babel/babel/issues/10634. Thanks 😃
Nice, thats fast.