Ability to set `useESModules` to `false`
See original GitHub issueIt seems to me that there is no way in which this settings can be set to false? It could not be overwritten in a babel.config.js
neither 😞
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to overwrite babel's preset plugin options - Stack Overflow
Here's a config using babel-plugin-react-app that works for node.js: presets: [ ['react-app', { useESModules: false }], [ ...
Read more >babel/plugin-transform-runtime
A plugin that enables the re-use of Babel's injected helper code to save on codesize.
Read more >ember-cli-babel - npm
These options are typically set in an apps ember-cli-build.js file, ... regenerator: false, useESModules: true, }, ], // this is where all ...
Read more >Babel loader issues with polkadotjs and create-react-app
I think the issue can be solved either by using a babel transform or maybe not using the import.meta.url as can be seen...
Read more >dependencies.js - facebook/create-react-app - Sourcegraph
https://github.com/facebook/create-react-app/issues/720 ... var areHelpersEnabled = validateBoolOption('helpers', opts.helpers, false);.
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
@ivosabev you can disable runtime path: https://github.com/facebook/create-react-app/issues/5443#issuecomment-430188464
I just hit on the same problem.
My use case is that I use a combined build process for everything for which babel-preset-react-app is the base but with additional plugins for things in the node environment. This has worked good previously but when I try to update to the new version I of course get syntax errors on the import syntax.
Being able to disable
useESModules
would really help me as I then can avoid forking babel-preset-react-app