Disable regenerator
See original GitHub issueAccording to #3994 it is possible to disable regenerator by specifying
"browserslist": {
"development": [
"last 1 Chrome version"
],
"production": [
....
}
This seems to work on my project files, but it still processes all packages in node_modules that use async and await (my packages). Is it possible to disable this for everything? Thanks!
Maybe it’s just cached somewhere?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
How to disable babel transform-regenerator completely
I'm looking for a way to completely disable generator functions transform with babel. With babel 5 there was a ...
Read more >Allow to disable regenerator-runtime · Issue #3994 - GitHub
If I have an error in an async function, my VS Code with chrome-debugger extension loads bundle.js and jumps to _asyncToGenerator ... catch...
Read more >babel/plugin-transform-regenerator
... case 2: case "end": return _context.stop(); } } }, _marked[0], this ); }. Copy. Installation. npm install --save-dev @babel/plugin-transform-regenerator.
Read more >How to disable automatic image regeneration in ...
Hi @bafloker,. I understand you would like to disable WooCommerce automatic image regeneration in the background. If you'd like to disable this function,...
Read more >To Turn Off Automatic Regeneration - PTC Support
Because model-to-drawing repaints and regenerations can be time consuming for larger files, you have the option to turn off the automatic regeneration function....
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
Looks like #6198 is probably the most general and relevant for using
browserslist
with@babel/preset-env
to accomplish what you guys are hoping for.@justingrant sure thing!