分别打包多个js文件输出多个js文件
module.exports = {
entry: {
app: './src/index.js'
},
output: {
path: path.join(_dirname,'./dist'),
publicPath: './',
filename: 'js/[name].js'
}
}
分别打包多个js文件输出多个js文件
module.exports = {
entry: {
app: './src/index.js'
},
output: {
path: path.join(_dirname,'./dist'),
publicPath: './',
filename: 'js/[name].js'
}
}