update
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
const webpack = require('path')
|
||||
module.exports = {
|
||||
mode: "development",
|
||||
entry: './src/index.js',
|
||||
output: {
|
||||
filename: 'bundle.js'
|
||||
},
|
||||
filename: "bundle-main.js", // 默认值
|
||||
clean: true,
|
||||
path: `${__dirname}/dist/dist` // 指定打包后的文件路径
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user