摘要:
1.在指南的缓存章节里webpack.config.js文件中,使用new的方法会报错 const webpack = require('webpack'); + new webpack.optimize.CommonsChunkPlugin({ + name: 'vendor' + }), new 阅读全文
posted @ 2019-11-26 17:21
斩月飞仙
阅读(1058)
评论(0)
推荐(0)
摘要:
1.webpack.config.js中添加: const path = require('path'); + const webpack = require('webpack'); const HTMLWebpackPlugin = require('html-webpack-plugin'); 阅读全文
posted @ 2019-11-26 10:48
斩月飞仙
阅读(450)
评论(0)
推荐(0)
浙公网安备 33010602011771号