最赞回答 / qq_寒冰_12
module.exports = {entry: './src/script/main.js',output: {path: __dirname,filename: './dist/js/bundle.js'}}亲测,这样设置就好了,不用加什么-p
2017-03-24