怎么解决??
需要写绝对路径
const path = require('path');
path: path.resolve(__dirname, './dist'),
filename: 'js/bundle.js',
这个是版本写法不一样