划分目录
path: path.join(__dirname, 'dist_dir'),
//设置资源路径的请求地址
//style.css -> /css/ assets/mui.ttf
//load的时候配置的name属性 assets/mui.ttf
publicPath:'/', //解决报错mui.tff的路径不对问题
filename: 'js/[name].[chunkhash:6].js',
name: 'assets/[name].[ext]'
new ExtractTextPlugin("css/[contenthash].css"),