tleunen / babel-plugin-module-resolver

Custom module resolver plugin for Babel
MIT License
3.46k stars 205 forks source link

Cannot find module 'core-js/modules/es6.set' #349

Closed gera2ld closed 5 years ago

gera2ld commented 5 years ago

The compiled code depends on core-js but it is not in package.json.

Error: Cannot find module 'core-js/modules/es6.set'

Actually I think we don't need this polyfill since we usually use this plugin with Node.js.

tleunen commented 5 years ago

Thanks @gera2ld, I'm sorry that I have introduced that in the recent build. It's in the process to being fixed, with this PR: https://github.com/tleunen/babel-plugin-module-resolver/pull/347