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.

Proper usage with selective polyfilling?

See original GitHub issue

Is there a good, or preferable setup using preset-modules, along with `preset-env’ auto polyfilling? Perhaps all the transforms disabled so the polyfills are also included?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
nicolo-ribaudocommented, Feb 6, 2020

It will! And in case we release 7.9.0 before 8.0.0, it will be already included in 7.9.0.

You can turn on notifications for https://github.com/babel/babel/pull/11083 😉

2reactions
nicolo-ribaudocommented, Dec 20, 2019

We will move this preset into preset-env soon (either in the next Babel minor release or in the one after), so it will be enough to use @babel/preset-env with the esmodules: true option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Polyfill - MDN Web Docs Glossary: Definitions of Web-related ...
A polyfill is a piece of code (usually JavaScript on the Web) used to provide modern functionality on older browsers that do not...
Read more >
How to load polyfills only when needed
I know three ready-to-use approaches for that: polyfill.io; the module / nomodule pattern; the useBuiltIns option in @babel/preset-env ...
Read more >
When and How to Use Polyfills - Bits and Pieces - Bit.dev
Tip: Use Bit (Github) to share your components across projects and teams. ... A polyfill is a piece of code (usually JavaScript on...
Read more >
How to use polyfill in JavaScript ? - GeeksforGeeks
Thus, we use polyfill along with a transpiler. ... To start a server, right-click on your index.html file and select an open live...
Read more >
Polyfills as a service | FT Labs - Financial Times
We've written a new backend in Node.JS, added aliasing features specifically to use Modernizr feature-detect names to selectively include required polyfills, ...
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