We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting an error Cannot find module 'core-js/modules/es7.array.includes' when running with latest core-js
Cannot find module 'core-js/modules/es7.array.includes'
babel.config.js
module.exports = function(api) { api.cache(true); const presets = [ [ "@babel/preset-env", { useBuiltIns: "usage", corejs: 3 } ], "@babel/preset-react", "@babel/preset-typescript", "linaria/babel" ]; const plugins = [ "@babel/plugin-transform-runtime", "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-object-rest-spread", "@babel/plugin-proposal-optional-chaining", "@babel/plugin-proposal-nullish-coalescing-operator" ]; return { presets, plugins }; };
After downgrading core-js to 2.6.5 and replacing these lines in babel config
["@babel/preset-env",{useBuiltIns: "usage",corejs: 3 }] ==>"@babel/preset-env"
It works. Any solutions?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting an error
Cannot find module 'core-js/modules/es7.array.includes'
when running with latest core-js
babel.config.js
After downgrading core-js to 2.6.5 and replacing these lines in babel config
["@babel/preset-env",{useBuiltIns: "usage",corejs: 3 }] ==>"@babel/preset-env"
It works. Any solutions?
The text was updated successfully, but these errors were encountered: