上QQ阅读APP看书,第一时间看更新
Installing and configuring webpack
As mentioned before, there are a few options for creating JavaScript bundles. Rollup and Babel are popular tools that can perform this task. The webpack is a good option because it is widely used and has a large plugin base.
This recipe demonstrates how to install and configure webpack to build a JavaScript bundle.