This commit is contained in:
2024-07-26 12:45:28 +08:00
parent c103c0157f
commit ed728f66d3
2 changed files with 43 additions and 2 deletions

View File

@@ -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` // 指定打包后的文件路径
}
}