Commit 2eb2d2a07529f7a33d2fbbf1e5fc2e1aac706b0f
1 parent
ddb88a65
revert: vite previre
Showing
4 changed files
with
47 additions
and
41 deletions
.env.production
package.json
@@ -21,8 +21,8 @@ | @@ -21,8 +21,8 @@ | ||
21 | }, | 21 | }, |
22 | "dependencies": { | 22 | "dependencies": { |
23 | "@iconify/iconify": "^2.0.0-rc.6", | 23 | "@iconify/iconify": "^2.0.0-rc.6", |
24 | - "@vueuse/core": "^4.0.8", | ||
25 | - "ant-design-vue": "^2.0.0-rc.8", | 24 | + "@vueuse/core": "^4.0.10", |
25 | + "ant-design-vue": "^2.0.0-rc.9", | ||
26 | "apexcharts": "^3.23.1", | 26 | "apexcharts": "^3.23.1", |
27 | "axios": "^0.21.1", | 27 | "axios": "^0.21.1", |
28 | "crypto-es": "^1.2.6", | 28 | "crypto-es": "^1.2.6", |
@@ -64,7 +64,7 @@ | @@ -64,7 +64,7 @@ | ||
64 | "@typescript-eslint/eslint-plugin": "^4.14.0", | 64 | "@typescript-eslint/eslint-plugin": "^4.14.0", |
65 | "@typescript-eslint/parser": "^4.14.0", | 65 | "@typescript-eslint/parser": "^4.14.0", |
66 | "@vitejs/plugin-legacy": "^1.2.1", | 66 | "@vitejs/plugin-legacy": "^1.2.1", |
67 | - "@vitejs/plugin-vue": "^1.1.1", | 67 | + "@vitejs/plugin-vue": "^1.1.2", |
68 | "@vitejs/plugin-vue-jsx": "^1.0.2", | 68 | "@vitejs/plugin-vue-jsx": "^1.0.2", |
69 | "@vue/compiler-sfc": "^3.0.5", | 69 | "@vue/compiler-sfc": "^3.0.5", |
70 | "@vuedx/typecheck": "^0.6.0", | 70 | "@vuedx/typecheck": "^0.6.0", |
@@ -102,7 +102,7 @@ | @@ -102,7 +102,7 @@ | ||
102 | "vite-plugin-html": "^2.0.0-beta.6", | 102 | "vite-plugin-html": "^2.0.0-beta.6", |
103 | "vite-plugin-mock": "^2.0.0-rc.2", | 103 | "vite-plugin-mock": "^2.0.0-rc.2", |
104 | "vite-plugin-purge-icons": "^0.5.2", | 104 | "vite-plugin-purge-icons": "^0.5.2", |
105 | - "vite-plugin-pwa": "^0.3.9", | 105 | + "vite-plugin-pwa": "^0.3.10", |
106 | "vite-plugin-style-import": "^0.4.6", | 106 | "vite-plugin-style-import": "^0.4.6", |
107 | "vue-eslint-parser": "^7.4.1", | 107 | "vue-eslint-parser": "^7.4.1", |
108 | "yargs": "^16.2.0" | 108 | "yargs": "^16.2.0" |
vite.config.ts
@@ -53,8 +53,10 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { | @@ -53,8 +53,10 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { | ||
53 | rollupOptions: { | 53 | rollupOptions: { |
54 | output: { | 54 | output: { |
55 | compact: true, | 55 | compact: true, |
56 | + manualChunks: undefined, | ||
56 | }, | 57 | }, |
57 | }, | 58 | }, |
59 | + minify: 'esbuild', | ||
58 | commonjsOptions: { | 60 | commonjsOptions: { |
59 | ignore: [ | 61 | ignore: [ |
60 | // xlsx | 62 | // xlsx |
yarn.lock
@@ -24,14 +24,13 @@ | @@ -24,14 +24,13 @@ | ||
24 | resolved "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.1.0.tgz#480b025f4b20ef7fe8f47d4a4846e4fee84ea06c" | 24 | resolved "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.1.0.tgz#480b025f4b20ef7fe8f47d4a4846e4fee84ea06c" |
25 | integrity sha512-Fi03PfuUqRs76aI3UWYpP864lkrfPo0hluwGqh7NJdLhvH4iRDc3jbJqZIvRDLHKbXrvAfPPV3+zjUccfFvWOQ== | 25 | integrity sha512-Fi03PfuUqRs76aI3UWYpP864lkrfPo0hluwGqh7NJdLhvH4iRDc3jbJqZIvRDLHKbXrvAfPPV3+zjUccfFvWOQ== |
26 | 26 | ||
27 | -"@ant-design/icons-vue@^5.1.9": | ||
28 | - version "5.1.9" | ||
29 | - resolved "https://registry.npmjs.org/@ant-design/icons-vue/-/icons-vue-5.1.9.tgz#8d741a3290be61af7c71618c308cc1a946c4e434" | ||
30 | - integrity sha512-4SJ8v9tXESKHNerrPPAkV9+EnuJhpY99wXgvtnbnTfE3QfpWaIw+7dP3wDxzD/Rjyz3wl3mj3mFlI889oPZoHg== | 27 | +"@ant-design/icons-vue@^6.0.0": |
28 | + version "6.0.0" | ||
29 | + resolved "https://registry.npmjs.org/@ant-design/icons-vue/-/icons-vue-6.0.0.tgz#e00ed23d5369323ee599ab4f4eb8aaa4f85f7877" | ||
30 | + integrity sha512-pQglbNH1b/KzpqM6C/U29xNt46c8f+OMAThyCGhDBGVNzzzPjI4v0U7Qyipc0SfPlYt7oPIXIuhMGhFQGGnbbg== | ||
31 | dependencies: | 31 | dependencies: |
32 | "@ant-design/colors" "^5.0.0" | 32 | "@ant-design/colors" "^5.0.0" |
33 | "@ant-design/icons-svg" "^4.0.0" | 33 | "@ant-design/icons-svg" "^4.0.0" |
34 | - "@babel/runtime" "^7.10.4" | ||
35 | "@types/lodash" "^4.14.165" | 34 | "@types/lodash" "^4.14.165" |
36 | lodash "^4.17.15" | 35 | lodash "^4.17.15" |
37 | 36 | ||
@@ -889,7 +888,7 @@ | @@ -889,7 +888,7 @@ | ||
889 | "@babel/types" "^7.4.4" | 888 | "@babel/types" "^7.4.4" |
890 | esutils "^2.0.2" | 889 | esutils "^2.0.2" |
891 | 890 | ||
892 | -"@babel/runtime@^7.10.4", "@babel/runtime@^7.10.5", "@babel/runtime@^7.11.2", "@babel/runtime@^7.8.4": | 891 | +"@babel/runtime@^7.10.5", "@babel/runtime@^7.11.2", "@babel/runtime@^7.8.4": |
893 | version "7.12.5" | 892 | version "7.12.5" |
894 | resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e" | 893 | resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e" |
895 | integrity sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg== | 894 | integrity sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg== |
@@ -1441,12 +1440,12 @@ | @@ -1441,12 +1440,12 @@ | ||
1441 | "@sentry/types" "5.30.0" | 1440 | "@sentry/types" "5.30.0" |
1442 | tslib "^1.9.3" | 1441 | tslib "^1.9.3" |
1443 | 1442 | ||
1444 | -"@simonwep/pickr@~1.7.0": | ||
1445 | - version "1.7.4" | ||
1446 | - resolved "https://registry.npmjs.org/@simonwep/pickr/-/pickr-1.7.4.tgz#b14fcd945890388b870cd6db4d6c78d531f25141" | ||
1447 | - integrity sha512-fq7jgKJT21uWGC1mARBHvvd1JYlEf93o7SuVOB4Lr0x/2UPuNC9Oe9n/GzVeg4oVtqMDfh1wIEJpsdOJEZb+3g== | 1443 | +"@simonwep/pickr@~1.8.0": |
1444 | + version "1.8.0" | ||
1445 | + resolved "https://registry.npmjs.org/@simonwep/pickr/-/pickr-1.8.0.tgz#adbff9a4f7f0e59dec9946508c5e481b7abae0f8" | ||
1446 | + integrity sha512-VaSD7TwktOsro5nQ/FjRx5JAJ09k5CNfGRHacgVRxeVPolUQwelz1SjL8HAOKZwTSmcnIObptpHABQS4zgN7sw== | ||
1448 | dependencies: | 1447 | dependencies: |
1449 | - core-js "^3.6.5" | 1448 | + core-js "^3.8.0" |
1450 | nanopop "^2.1.0" | 1449 | nanopop "^2.1.0" |
1451 | 1450 | ||
1452 | "@stylelint/postcss-css-in-js@^0.37.2": | 1451 | "@stylelint/postcss-css-in-js@^0.37.2": |
@@ -1840,10 +1839,10 @@ | @@ -1840,10 +1839,10 @@ | ||
1840 | "@vue/babel-plugin-jsx" "^1.0.1" | 1839 | "@vue/babel-plugin-jsx" "^1.0.1" |
1841 | hash-sum "^2.0.0" | 1840 | hash-sum "^2.0.0" |
1842 | 1841 | ||
1843 | -"@vitejs/plugin-vue@^1.1.1": | ||
1844 | - version "1.1.1" | ||
1845 | - resolved "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.1.1.tgz#6eccd9aa0a2c3365048bf82b9fee437e995ae15d" | ||
1846 | - integrity sha512-Oia369l4L4Wd6hW0paQ1OUsPbGHd85KQllismua65C45xMu40og5lzGreSuGEtW+6yB0I5FyLrC7tk5yCucHwA== | 1842 | +"@vitejs/plugin-vue@^1.1.2": |
1843 | + version "1.1.2" | ||
1844 | + resolved "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.1.2.tgz#64d1f0e0739675f5717015ffb4d861c53af8fe60" | ||
1845 | + integrity sha512-a5ORYuPsiAO4Kb2blA/x63mDiBQBxEJkbjhVtiv5IP/I7fGfpwXPPGHx9LHD4MedpXp8icngJYMKO0hOwahtmQ== | ||
1847 | 1846 | ||
1848 | "@vue/babel-helper-vue-transform-on@^1.0.0": | 1847 | "@vue/babel-helper-vue-transform-on@^1.0.0": |
1849 | version "1.0.0" | 1848 | version "1.0.0" |
@@ -2105,18 +2104,18 @@ | @@ -2105,18 +2104,18 @@ | ||
2105 | vscode-languageserver-textdocument "^1.0.1" | 2104 | vscode-languageserver-textdocument "^1.0.1" |
2106 | vscode-uri "^2.1.2" | 2105 | vscode-uri "^2.1.2" |
2107 | 2106 | ||
2108 | -"@vueuse/core@^4.0.8": | ||
2109 | - version "4.0.8" | ||
2110 | - resolved "https://registry.npmjs.org/@vueuse/core/-/core-4.0.8.tgz#d5690154c147ae787bf5d67bf8fe3046dff96d85" | ||
2111 | - integrity sha512-wD0JJUXpRgRBPCnGsAqcVk9Zz545zOmIjGv/1Mlco3rVmal7LEZ3rJh8SnBelxuyVNvRwifkK1gtbT24jY6V8Q== | 2107 | +"@vueuse/core@^4.0.10": |
2108 | + version "4.0.10" | ||
2109 | + resolved "https://registry.npmjs.org/@vueuse/core/-/core-4.0.10.tgz#863ae7bb9d3325908e3ce388e9050c8bec09f502" | ||
2110 | + integrity sha512-2TxaF9JWutJlrgRtz9r/vFPvpaKKQ8HL5eMIiIMNBpfAkf0BZkT5HsSzphNyJ9vMhjlM+DIlhGKdWVASOdc3Aw== | ||
2112 | dependencies: | 2111 | dependencies: |
2113 | - "@vueuse/shared" "4.0.8" | 2112 | + "@vueuse/shared" "4.0.10" |
2114 | vue-demi latest | 2113 | vue-demi latest |
2115 | 2114 | ||
2116 | -"@vueuse/shared@4.0.8": | ||
2117 | - version "4.0.8" | ||
2118 | - resolved "https://registry.npmjs.org/@vueuse/shared/-/shared-4.0.8.tgz#ba6c350b5f0ef12e2a603d956cc6d2809ff5be4f" | ||
2119 | - integrity sha512-euAfdZeFHGAyCBoy7izgufC/kTt+yEjuVjeCmfuDQNAj7QsdzEpRlyblD+EGifHbyGFx8F3Ql6/bQzdTdwRFHA== | 2115 | +"@vueuse/shared@4.0.10": |
2116 | + version "4.0.10" | ||
2117 | + resolved "https://registry.npmjs.org/@vueuse/shared/-/shared-4.0.10.tgz#3f175d7c33831ab7226c5c712ad2a53093a52c19" | ||
2118 | + integrity sha512-x60po8a7v1tyaQNbXJWf/YTzgUzYU5rbmxKgxbxrHC2aDIcSLTMgqmwFrFpqbLwbNxvDta7z/R0MJms5bSaWwg== | ||
2120 | dependencies: | 2119 | dependencies: |
2121 | vue-demi latest | 2120 | vue-demi latest |
2122 | 2121 | ||
@@ -2240,15 +2239,15 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: | @@ -2240,15 +2239,15 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: | ||
2240 | dependencies: | 2239 | dependencies: |
2241 | color-convert "^2.0.1" | 2240 | color-convert "^2.0.1" |
2242 | 2241 | ||
2243 | -ant-design-vue@^2.0.0-rc.8: | ||
2244 | - version "2.0.0-rc.8" | ||
2245 | - resolved "https://registry.npmjs.org/ant-design-vue/-/ant-design-vue-2.0.0-rc.8.tgz#0f219aedb27f1797228aab79fbbd8328a7389a9f" | ||
2246 | - integrity sha512-sPH/raQZhnzxUpFT5z8ONEvaf3SvUss6Llv9eBK05wqDTaj/+QSnJYflFGPZh4ScXGpJ4Pth9FMd+F0ogusGHg== | 2242 | +ant-design-vue@^2.0.0-rc.9: |
2243 | + version "2.0.0-rc.9" | ||
2244 | + resolved "https://registry.npmjs.org/ant-design-vue/-/ant-design-vue-2.0.0-rc.9.tgz#9f4d89b02bf2c6f3295633048001b2e13c229f1e" | ||
2245 | + integrity sha512-lnDKOXkaxWGnV3nEzSl0bggnM1F568sBMD2ctPLLctdhYBAKZQto+4my4p8RbLHfvZVE/xVDE80HYgufibTMYw== | ||
2247 | dependencies: | 2246 | dependencies: |
2248 | "@ant-design-vue/use" "^0.0.1-0" | 2247 | "@ant-design-vue/use" "^0.0.1-0" |
2249 | - "@ant-design/icons-vue" "^5.1.9" | 2248 | + "@ant-design/icons-vue" "^6.0.0" |
2250 | "@babel/runtime" "^7.10.5" | 2249 | "@babel/runtime" "^7.10.5" |
2251 | - "@simonwep/pickr" "~1.7.0" | 2250 | + "@simonwep/pickr" "~1.8.0" |
2252 | array-tree-filter "^2.1.0" | 2251 | array-tree-filter "^2.1.0" |
2253 | async-validator "^3.3.0" | 2252 | async-validator "^3.3.0" |
2254 | dom-align "^1.10.4" | 2253 | dom-align "^1.10.4" |
@@ -3261,11 +3260,16 @@ core-js-compat@^3.8.0: | @@ -3261,11 +3260,16 @@ core-js-compat@^3.8.0: | ||
3261 | browserslist "^4.15.0" | 3260 | browserslist "^4.15.0" |
3262 | semver "7.0.0" | 3261 | semver "7.0.0" |
3263 | 3262 | ||
3264 | -core-js@^3.6.1, core-js@^3.6.5: | 3263 | +core-js@^3.6.1: |
3265 | version "3.8.1" | 3264 | version "3.8.1" |
3266 | resolved "https://registry.npmjs.org/core-js/-/core-js-3.8.1.tgz#f51523668ac8a294d1285c3b9db44025fda66d47" | 3265 | resolved "https://registry.npmjs.org/core-js/-/core-js-3.8.1.tgz#f51523668ac8a294d1285c3b9db44025fda66d47" |
3267 | integrity sha512-9Id2xHY1W7m8hCl8NkhQn5CufmF/WuR30BTRewvCXc1aZd3kMECwNZ69ndLbekKfakw9Rf2Xyc+QR6E7Gg+obg== | 3266 | integrity sha512-9Id2xHY1W7m8hCl8NkhQn5CufmF/WuR30BTRewvCXc1aZd3kMECwNZ69ndLbekKfakw9Rf2Xyc+QR6E7Gg+obg== |
3268 | 3267 | ||
3268 | +core-js@^3.8.0: | ||
3269 | + version "3.8.3" | ||
3270 | + resolved "https://registry.npmjs.org/core-js/-/core-js-3.8.3.tgz#c21906e1f14f3689f93abcc6e26883550dd92dd0" | ||
3271 | + integrity sha512-KPYXeVZYemC2TkNEkX/01I+7yd+nX3KddKwZ1Ww7SKWdI2wQprSgLmrTddT8nw92AjEklTsPBoSdQBhbI1bQ6Q== | ||
3272 | + | ||
3269 | core-js@^3.8.2: | 3273 | core-js@^3.8.2: |
3270 | version "3.8.2" | 3274 | version "3.8.2" |
3271 | resolved "https://registry.npmjs.org/core-js/-/core-js-3.8.2.tgz#0a1fd6709246da9ca8eff5bb0cbd15fba9ac7044" | 3275 | resolved "https://registry.npmjs.org/core-js/-/core-js-3.8.2.tgz#0a1fd6709246da9ca8eff5bb0cbd15fba9ac7044" |
@@ -8342,13 +8346,13 @@ vite-plugin-purge-icons@^0.5.2: | @@ -8342,13 +8346,13 @@ vite-plugin-purge-icons@^0.5.2: | ||
8342 | "@purge-icons/generated" "^0.5.2" | 8346 | "@purge-icons/generated" "^0.5.2" |
8343 | rollup-plugin-purge-icons "^0.5.2" | 8347 | rollup-plugin-purge-icons "^0.5.2" |
8344 | 8348 | ||
8345 | -vite-plugin-pwa@^0.3.9: | ||
8346 | - version "0.3.9" | ||
8347 | - resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.3.9.tgz#d55bb90f927228f6567a16483d406649c897631e" | ||
8348 | - integrity sha512-7UwG/jmBBzmmwFllc6fUmEpXyMYlBZsLBpjBfteHPp4lVptNrXVRT6Ou/ggVjPK2vlJqlh3GzvSo1sCNUxecgw== | 8349 | +vite-plugin-pwa@^0.3.10: |
8350 | + version "0.3.10" | ||
8351 | + resolved "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.3.10.tgz#254f29ae1f449874e6cbcc3be23881edec32984b" | ||
8352 | + integrity sha512-UMvOTsTQumIy1yJ7imIEsjdealbeOzc30PjNK1By4aEuRUHCI2kJ7Mmh8xUbLJWSLVaUfIKIG1zguk5cpmD3SQ== | ||
8349 | dependencies: | 8353 | dependencies: |
8350 | debug "^4.3.2" | 8354 | debug "^4.3.2" |
8351 | - fast-glob "^3.2.4" | 8355 | + fast-glob "^3.2.5" |
8352 | pretty-bytes "^5.5.0" | 8356 | pretty-bytes "^5.5.0" |
8353 | workbox-build "^6.0.2" | 8357 | workbox-build "^6.0.2" |
8354 | 8358 |