style:刷新
Showing
2 changed files
with
6 additions
and
6 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-12-18 09:24:03 | 4 | * @LastEditTime: 2024-01-19 14:45:09 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> | 7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> | ... | ... |
... | @@ -60,16 +60,16 @@ module.exports = { | ... | @@ -60,16 +60,16 @@ module.exports = { |
60 | app: './src/main.js' | 60 | app: './src/main.js' |
61 | }, | 61 | }, |
62 | externals: [{ | 62 | externals: [{ |
63 | './cptable': 'var cptable' | 63 | './cptable': 'var cptable' |
64 | }], | 64 | }], |
65 | resolve: { | 65 | resolve: { |
66 | alias: { | 66 | alias: { |
67 | '@': resolve('src') | 67 | '@': resolve('src') |
68 | } | 68 | } |
69 | }, | 69 | }, |
70 | output: { // 输出重构 打包编译后的 文件名称 【模块名称.版本号.时间戳】 | 70 | output: { |
71 | filename: `static/js/[name].${Timestamp}.js`, | 71 | filename: `static/js/[name].[hash].js`, |
72 | chunkFilename: `static/js/[name].${Timestamp}.js` | 72 | chunkFilename: `static/js/[name].[hash].js`, |
73 | }, | 73 | }, |
74 | devtool: process.env.NODE_ENV === 'development' ? '#eval-source-map' : false | 74 | devtool: process.env.NODE_ENV === 'development' ? '#eval-source-map' : false |
75 | }, | 75 | }, | ... | ... |
-
Please register or sign in to post a comment