标签:必须 res name 文件目录 文件 加载 dex config pack
output: {
//输出文件的文件名
filename: ‘[name].[hash:8].js‘,
//输出路径必须是绝对路径 dist输出文件目录
path: path.resolve(__dirname, ‘dist‘)
},
output:即使可以存在多个入口起点,但只指定一个输出配置。
publicpath:为index.html中的资源指定加载目录
webpack.config.js====output出口文件的配置
标签:必须 res name 文件目录 文件 加载 dex config pack
原文地址:https://www.cnblogs.com/songxia/p/10295723.html