当入口文件是2个的时候 打包报错,有没有小伙伴帮忙看一下,谢谢
都改成最新版本还是会报错:
const path = require('path');
module.exports={
entry:{
main:'./src/script/main.js',
a:'./src/script/a.js'
},
output:{
path:path.resolve(__dirname, './dist/js'),
filename:'[name].js'
}
}
都改成最新版本还是会报错:
const path = require('path');
module.exports={
entry:{
main:'./src/script/main.js',
a:'./src/script/a.js'
},
output:{
path:path.resolve(__dirname, './dist/js'),
filename:'[name].js'
}
}
2018-01-25
举报