修复js文件404问题

This commit is contained in:
2025-09-19 16:25:32 +08:00
parent 9d4581a2b5
commit 23b6d236a5
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,8 @@ module.exports = (env, argv) => {
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
clean: true
clean: true,
publicPath: '/'
},
module: {
rules: [