fix: 本地调试时html无法访问src下文件,故修复

This commit is contained in:
Chaorui Bi
2021-09-06 15:42:45 +00:00
committed by 神戸小鳥
parent 3b83c7b9e3
commit 32d7d4b824
2 changed files with 5 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -18,6 +18,10 @@ module.exports = {
directory: path.join(__dirname, 'view'),
publicPath: '/view',
},
{
directory: path.join(__dirname, 'src'),
publicPath: '/src',
},
],
},
output: {