Fix Module not found: Error: Can't resolve 'core-js/modules/es6.array.concat.js' with compat-data@7.13.x#12901
Fix Module not found: Error: Can't resolve 'core-js/modules/es6.array.concat.js' with compat-data@7.13.x#12901nicolo-ribaudo merged 6 commits intobabel:mainfrom luxp:fix-babel-compat-data-corejs2
Conversation
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/42769/ |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit ecf1057:
|
|
I'm sorry 🤦 I missed this because the comment explaining why these were not included gave the wrong reason. Can you delete them from |
|
NOTE: The Could you run |
|
Actually, adding this to "babel-plugin-polyfill-corejs2/@babel/compat-data": "workspace:*" |
I'm trying |
|
You need to run |
|
This seems has been fixed. And tests are all passed on my local machine. |
…from corejs2 built infeatures
After upgrade the @babel/compat-data@7.13 encounted the problem below.
.babelrc
Usage in code
Related this pull request: https://github.com/babel/babel/pull/12850/files#r582504324