chore: set vite build minify is false

This commit is contained in:
xiaoxian521 2021-11-04 12:34:27 +08:00
parent 709cb87c2b
commit f19f27510b
2 changed files with 39 additions and 38 deletions

View File

@ -85,7 +85,7 @@ importers:
"@amap/amap-jsapi-loader": 1.0.1
"@logicflow/core": 0.7.1
"@logicflow/extension": 0.7.1
"@vueuse/core": 6.7.4_vue@3.2.21
"@vueuse/core": 6.7.5_vue@3.2.21
"@vueuse/motion": 2.0.0-beta.4_vue@3.2.21
animate.css: 4.1.1
await-to-js: 3.0.0
@ -103,7 +103,7 @@ importers:
nprogress: 0.2.0
path: 0.12.7
path-to-regexp: 6.2.0
pinia: 2.0.0_typescript@4.4.2+vue@3.2.21
pinia: 2.0.2_typescript@4.4.2+vue@3.2.21
resize-observer-polyfill: 1.5.1
responsive-storage: 1.0.11_vue@3.2.21
sortablejs: 1.13.0
@ -1415,10 +1415,10 @@ packages:
"@vue/shared": 3.2.21
dev: false
/@vue/devtools-api/6.0.0-beta.19:
/@vue/devtools-api/6.0.0-beta.20:
resolution:
{
integrity: sha512-ObzQhgkoVeoyKv+e8+tB/jQBL2smtk/NmC9OmFK8UqdDpoOdv/Kf9pyDWL+IFyM7qLD2C75rszJujvGSPSpGlw==
integrity: sha512-21u2jFOk8jbAneeGpDwZQ0W66RJa0IBDUyVl6SgKnn2cRFjLWzKj+ukXjpLhYr1KASyCe5E5U4jXwChVo0YUAw==
}
dev: false
@ -1558,13 +1558,13 @@ packages:
dependencies:
"@vueuse/shared": 6.1.0_vue@3.2.21
vue: 3.2.21
vue-demi: 0.12.0_vue@3.2.21
vue-demi: 0.12.1_vue@3.2.21
dev: false
/@vueuse/core/6.7.4_vue@3.2.21:
/@vueuse/core/6.7.5_vue@3.2.21:
resolution:
{
integrity: sha512-y39SD+pxDkv7/Fe369c02FQpr/148otQr64ScPDTpw4fGnspc8ONXCNU3gTrvDFRuiylirdPBpXgmt/GDQO7RA==
integrity: sha512-zgWai0i38TbfWGMVs1ybyEEdwwhjjMloQflRTMU0+pTmp3kEtQTDiVZiOrr758s+yRdr2OQiMQ323dyiKgKMFQ==
}
peerDependencies:
"@vue/composition-api": ^1.1.0
@ -1575,9 +1575,9 @@ packages:
vue:
optional: true
dependencies:
"@vueuse/shared": 6.7.4_vue@3.2.21
"@vueuse/shared": 6.7.5_vue@3.2.21
vue: 3.2.21
vue-demi: 0.12.0_vue@3.2.21
vue-demi: 0.12.1_vue@3.2.21
dev: false
/@vueuse/motion/2.0.0-beta.4_vue@3.2.21:
@ -1592,10 +1592,10 @@ packages:
"@vue/composition-api":
optional: true
dependencies:
"@vueuse/core": 6.7.4_vue@3.2.21
"@vueuse/core": 6.7.5_vue@3.2.21
popmotion: 10.0.2
vue: 3.2.21
vue-demi: 0.12.0_vue@3.2.21
vue-demi: 0.12.1_vue@3.2.21
dev: false
/@vueuse/shared/6.1.0_vue@3.2.21:
@ -1613,13 +1613,13 @@ packages:
optional: true
dependencies:
vue: 3.2.21
vue-demi: 0.12.0_vue@3.2.21
vue-demi: 0.12.1_vue@3.2.21
dev: false
/@vueuse/shared/6.7.4_vue@3.2.21:
/@vueuse/shared/6.7.5_vue@3.2.21:
resolution:
{
integrity: sha512-Lkm8myEiOj0sIqSXck5EXDbu0W705Q10BxydGLMfiV6wAY4U1zu+YgEgR37Wy2/mT1545pwQqiJ7bd3kQQFCMw==
integrity: sha512-wUDMPTGUSTYsbiftKq7dYLKD2i3n0m8utbHBCyoxdyeKsmtQGIM2/XeeXjtALB7UXD6rqPsVgCMepNrPPt8zvw==
}
peerDependencies:
"@vue/composition-api": ^1.1.0
@ -1631,7 +1631,7 @@ packages:
optional: true
dependencies:
vue: 3.2.21
vue-demi: 0.12.0_vue@3.2.21
vue-demi: 0.12.1_vue@3.2.21
dev: false
/JSONStream/1.3.5:
@ -1843,7 +1843,7 @@ packages:
postcss: ^8.1.0
dependencies:
browserslist: 4.17.6
caniuse-lite: 1.0.30001275
caniuse-lite: 1.0.30001276
colorette: 1.4.0
fraction.js: 4.1.1
normalize-range: 0.1.2
@ -1859,7 +1859,7 @@ packages:
hasBin: true
dependencies:
browserslist: 4.17.6
caniuse-lite: 1.0.30001275
caniuse-lite: 1.0.30001276
normalize-range: 0.1.2
num2fraction: 1.2.2
picocolors: 0.2.1
@ -1955,8 +1955,8 @@ packages:
engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 }
hasBin: true
dependencies:
caniuse-lite: 1.0.30001275
electron-to-chromium: 1.3.887
caniuse-lite: 1.0.30001276
electron-to-chromium: 1.3.888
escalade: 3.1.1
node-releases: 2.0.1
picocolors: 1.0.0
@ -2023,10 +2023,10 @@ packages:
engines: { node: ">=10" }
dev: true
/caniuse-lite/1.0.30001275:
/caniuse-lite/1.0.30001276:
resolution:
{
integrity: sha512-ihJVvj8RX0kn9GgP43HKhb5q9s2XQn4nEQhdldEJvZhCsuiB2XOq6fAMYQZaN6FPWfsr2qU0cdL0CSbETwbJAg==
integrity: sha512-psUNoaG1ilknZPxi8HuhQWobuhLqtYSRUxplfVkEJdgZNB9TETVYGSBtv4YyfAdGvE6gn2eb0ztiXqHoWJcGnw==
}
dev: true
@ -2693,10 +2693,10 @@ packages:
resolution: { integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= }
dev: true
/electron-to-chromium/1.3.887:
/electron-to-chromium/1.3.888:
resolution:
{
integrity: sha512-QQUumrEjFDKSVYVdaeBmFdyQGoaV+fCSMyWHvfx/u22bRHSTeBQYt6P4jMY+gFd4kgKB9nqk7RMtWkDB49OYPA==
integrity: sha512-5iD1zgyPpFER4kJ716VsA4MxQ6x405dxdFNCEK2mITL075VHO5ResjY0xzQUZguCww/KlBxCA6JmBA9sDt1PRw==
}
dev: true
@ -3780,7 +3780,7 @@ packages:
array-union: 2.1.0
dir-glob: 3.0.1
fast-glob: 3.2.7
ignore: 5.1.8
ignore: 5.1.9
merge2: 1.4.1
slash: 3.0.0
dev: true
@ -3939,10 +3939,10 @@ packages:
engines: { node: ">= 4" }
dev: true
/ignore/5.1.8:
/ignore/5.1.9:
resolution:
{
integrity: sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==
integrity: sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==
}
engines: { node: ">= 4" }
dev: true
@ -5086,13 +5086,13 @@ packages:
engines: { node: ">=0.10.0" }
dev: true
/pinia/2.0.0_typescript@4.4.2+vue@3.2.21:
/pinia/2.0.2_typescript@4.4.2+vue@3.2.21:
resolution:
{
integrity: sha512-pqnQv1m7oEwYExGl//EtOn9rgFn7gtXECP/hZHy+WicmHXmWWkbsvpR+9z1xxrIgDOmVYuh1eYfRULJklzOKsQ==
integrity: sha512-ljN+9p9XHE8YrMBgxLbpo5rdVPj7Fri4Bl9qswz5dJPeoK6ra66YOLrGpBoCsHjAqu9jOBC3oJeErocicf51oA==
}
peerDependencies:
"@vue/composition-api": ^1.2.4
"@vue/composition-api": ^1.3.0
typescript: ^4.4.4
vue: ^2.6.14 || ^3.2.0
peerDependenciesMeta:
@ -5101,10 +5101,10 @@ packages:
typescript:
optional: true
dependencies:
"@vue/devtools-api": 6.0.0-beta.19
"@vue/devtools-api": 6.0.0-beta.20
typescript: 4.4.2
vue: 3.2.21
vue-demi: 0.12.0_vue@3.2.21
vue-demi: 0.12.1_vue@3.2.21
dev: false
/please-upgrade-node/3.2.0:
@ -5326,7 +5326,7 @@ packages:
chalk: 3.0.0
execa: 4.1.0
find-up: 4.1.0
ignore: 5.1.8
ignore: 5.1.9
mri: 1.2.0
multimatch: 4.0.0
prettier: 2.3.2
@ -6079,7 +6079,7 @@ packages:
globby: 11.0.4
globjoin: 0.1.4
html-tags: 3.1.0
ignore: 5.1.8
ignore: 5.1.9
import-lazy: 4.0.0
imurmurhash: 0.1.4
known-css-properties: 0.21.0
@ -6688,10 +6688,10 @@ packages:
fsevents: 2.3.2
dev: true
/vue-demi/0.12.0_vue@3.2.21:
/vue-demi/0.12.1_vue@3.2.21:
resolution:
{
integrity: sha512-eggsbQSQEJKlvQrtrJLx4J44MIVq5+Z7QetIEh1Na+ZWLgt5Fq0qskQ1QmckTTEoFcUdn36c4K23EjtXZhws7w==
integrity: sha512-QL3ny+wX8c6Xm1/EZylbgzdoDolye+VpCXRhI2hug9dJTP3OUJ3lmiKN3CsVV3mOJKwFi0nsstbgob0vG7aoIw==
}
engines: { node: ">=12" }
hasBin: true
@ -6739,7 +6739,7 @@ packages:
"@intlify/core-base": 9.2.0-beta.17
"@intlify/shared": 9.2.0-beta.17
"@intlify/vue-devtools": 9.2.0-beta.17
"@vue/devtools-api": 6.0.0-beta.19
"@vue/devtools-api": 6.0.0-beta.20
vue: 3.2.21
dev: false
@ -6763,7 +6763,7 @@ packages:
peerDependencies:
vue: ^3.0.0
dependencies:
"@vue/devtools-api": 6.0.0-beta.19
"@vue/devtools-api": 6.0.0-beta.20
vue: 3.2.21
dev: false

View File

@ -93,7 +93,8 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
sourcemap: false,
brotliSize: false,
// 消除打包大小超过500kb警告
chunkSizeWarningLimit: 2000
chunkSizeWarningLimit: 2000,
minify: false
},
define: {
__INTLIFY_PROD_DEVTOOLS__: false