DEV Community

Discussion on: Creating a production-ready Eleventy project with webpack, Babel and Sass

Collapse
 
badg0003 profile image
Mike Badgley

I was running into issues when attempting to run JS - getting a bunch of 'Module cannot be found' and it turned out to be because core-js was installing as version < 3 (the version identified in babel.config.json). Is there a reason why I'm not getting v3 even though I've followed the steps above, specifically:

npm install @babel/core @babel/preset-env babel-loader core-js --save-dev --save-exact