webpack配置文件 module.exports = { entry: './src/main.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'main.js' }