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.

question: what should be setting when using core-js v3

See original GitHub issue

we had imported core-js and regenerator-runtime

import 'core-js/stable'
import 'regenerator-runtime/runtime'
// eslintrc.js
  "settings": {
    "polyfills": [
       ???
    ]
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
andershagbardcommented, Jun 28, 2022

@amilajack I am using Webpack with Babel and @babel/preset-typescript. It doesn’t autodetect the core-js polyfills for me.

For example, I get this error: Promise is not supported in op_mini all compat/compat

0reactions
semiaddictcommented, Nov 17, 2020

Babel config goes in .babelrc, .babelrc.js, or a babel property in package.json.

Ah. Didn’t know it could be a property in package.json. Thanks for the info.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Storybook v5 breaks when using core-js ^3.0 #6204 - GitHub
Try running storybook server; Observe error. ERROR in ./.storybook/config.js Module not found: Error: Can't resolve 'core- ...
Read more >
How to use babel/corejs3/webpack correctly for IE11?
Have corejs: "3" and useBuiltIns: 'entry' to @babel/preset-env preset inside babel.config.js file. There have to be core-js/stable and ...
Read more >
IoT Client - AWS SDK for JavaScript v3
You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources ...
Read more >
babel/plugin-transform-runtime
A plugin that enables the re-use of Babel's injected helper code to save on codesize. NOTE: Instance methods such as "foobar".includes("foo") will only...
Read more >
Upgrading Your Maps JavaScript API Application from V2 to V3
Most applications will load the Maps JavaScript API v3 with the following code: ... times for the Core API which lets your map...
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