Commit 38ba641f authored by 夏敏伟's avatar 夏敏伟

修改默认打包文件名从dist---->web

parent 9992f516
node_modules/ node_modules/
dist/
.vscode/ .vscode/
src/view/zchj/zchj1.vue src/view/zchj/zchj1.vue
web/
\ No newline at end of file
...@@ -11,7 +11,7 @@ module.exports = { ...@@ -11,7 +11,7 @@ module.exports = {
entry: path.resolve(__dirname, './src/main.js'), // 项目入口文件 entry: path.resolve(__dirname, './src/main.js'), // 项目入口文件
output: { output: {
filename: '[name].[contenthash:8].js', filename: '[name].[contenthash:8].js',
path: path.resolve(__dirname, './dist') // 打包后的目录 path: path.resolve(__dirname, './web') // 打包后的目录
}, },
resolve:{ resolve:{
alias:{ alias:{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment