webpack 经常使用plugins

web-webpack-plugin:方便的为单页应用输出 HTML,比 html-webpack-plugin 好用。 happypack:启用多进程去并发进行loader转换,提升打包速度。 clean-webpack-plugin:用于删除 webpack 上次编译出来的旧文件。 provide-plugin:从环境中提供的全局变量中加载模块,而不用导入对应的文件。 hot-module-r
相关文章
相关标签/搜索