question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable regenerator

See original GitHub issue

According 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:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ianschmitzcommented, Feb 12, 2019

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.

1reaction
ianschmitzcommented, Feb 12, 2019

@justingrant sure thing!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found