When we released RC0 release with our new App Scripts build tools and a new bundle process using Rollup instead of Webpack (for performance reasons), we received a ton of feedback that you really wished you could use Webpack instead of Rollup. The Webpack ecosystem is larger, many of you have created complicated webpack configs, and Webpack plays more nicely with the plethora of commonjs modules that haven’t moved to the ESM module standard.
Well, we’ve heard you, and we’re excited to release a beta version of app-scripts that uses Webpack by default. If you’re happy with Rollup, then you can ignore this: our tool will continue to use rollup if you have a custom rollup config. If you’d like to read more about customizing the bundle process, read our docs on customizing your build config
To help us test, install the
beta tag of
ionic-app-scripts in your Ionic 2 app directory:
npm install @ionic/app-scripts@beta
npm run build to test the new build process.
Please let us know if you have any feedback. We are strongly considering moving to Webpack as the default so your feedback and help are greatly appreciated!