Bundle JS with rollup and Babel for use in IE11
问题 I try to bundle two JavaScript modules, so that the resulting code works in IE11. For this I have setup a yarn/npm project which uses rollup.js for bundling and Babel for transpiling. Everything works fine until I add the (non-dev) dependency core-js . Here the details: 1 Setup before adding core-js JS files src/main.js src/utils.js Config files package.json { "name": "rollup_for_ie", "devDependencies": { "@babel/core": "^7.11.1", "@babel/preset-env": "^7.11.0", "@rollup/plugin-babel": "^5.2