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.

Upgrading to 5 results in `useBuiltIns` option without declaring a core-js version.

See original GitHub issue

When upgrading to v5, I get the following warnings:

WARNING: We noticed you're using the `useBuiltIns` option without declaring a core-js version.

I fixed it by adding the following babel preset:

['@babel/preset-env', { useBuiltIns: 'usage', corejs: 2 }]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
shilmancommented, Mar 26, 2019

@mohamedmansour Everybody who uses Storybook has it. It’s another babel minor version upgrade doozy 😆

2reactions
shilmancommented, Apr 1, 2019

Jiminy cricket!! I just released https://github.com/storybooks/storybook/releases/tag/v5.0.6 containing PR #6267 that references this issue. Upgrade today to try it out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does this error mean? With `useBuiltIns` option, required ...
Getting the same issue. Resolved it by installing core-js as a top level dependency and then adding it as an option to .babelrc...
Read more >
babel/preset-env
babel/preset-env` is a smart preset that allows you to use the latest JavaScript without needing to micromanage which syntax transforms (and optionally, ...
Read more >
WARNING: We noticed you're using the `useBuiltIns` option ...
WARNING (@babel/preset-env): We noticed you're using the `useBuiltIns` option without declaring a core-js version.
Read more >
Broken styling and missing icons when viewing template on ...
I have tried on 2 different PCs and it is the same result. ... you're using the `useBuiltIns` option without declaring a core-js...
Read more >
babel-loader - npm
babel module loader for webpack. Latest version: 9.1.0, last published: 2 months ago. Start using babel-loader in your project by running ...
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