Skip to content

Commit e40fb12

Browse files
committed
更新vite最新版本
1 parent 5dff00f commit e40fb12

File tree

5 files changed

+49
-50
lines changed

5 files changed

+49
-50
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
},
4242
"devDependencies": {
4343
"@types/node": "^16.7.1",
44-
"@vitejs/plugin-legacy": "^1.5.1",
45-
"@vitejs/plugin-vue": "^1.3.0",
44+
"@vitejs/plugin-legacy": "^1.5.3",
45+
"@vitejs/plugin-vue": "^1.9.2",
4646
"@vue/compiler-sfc": "^3.2.11",
4747
"@vue/eslint-config-prettier": "^6.0.0",
4848
"autoprefixer": "^10.3.1",
@@ -60,11 +60,11 @@
6060
"stylelint-config-recess-order": "^2.4.0",
6161
"stylelint-config-standard": "^22.0.0",
6262
"svg-sprite-loader": "^6.0.9",
63-
"vite": "^2.4.4",
63+
"vite": "^2.5.10",
6464
"vite-plugin-babel-import": "^2.0.5",
6565
"vite-plugin-element-plus": "^0.0.12",
6666
"vite-plugin-mock": "^2.9.4",
67-
"vite-plugin-style-import": "^1.0.1"
67+
"vite-plugin-style-import": "^1.2.1"
6868
},
6969
"repository": {
7070
"type": "git",

src/layouts/components/TabBar/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
&.horizontal {
322322
padding: 0 40px;
323323
}
324-
::v-deep {
324+
:deep {
325325
.fold-unfold {
326326
margin-right: $base-padding;
327327
}
@@ -343,7 +343,7 @@
343343
width: calc(100% - 90px);
344344
height: $base-tag-item-height;
345345
346-
::v-deep {
346+
:deep {
347347
.el-tabs__nav-next,
348348
.el-tabs__nav-prev {
349349
height: $base-tag-item-height;

src/views/login/comp/RegisterForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<style lang="scss" scoped>
6969
.login-ruleForm {
7070
margin-top: 1rem;
71-
::v-deep {
71+
:deep {
7272
.el-input__prefix {
7373
top: 2px;
7474
padding: 0 4px;

vite.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,8 @@ export default defineConfig({
111111
chunkSizeWarningLimit,
112112
},
113113

114-
esbuild: {
115-
jsxFactory: 'h',
116-
jsxFragment: 'Fragment',
117-
},
118-
119114
optimizeDeps: {
120115
// 检测需要预构建的依赖项
121116
entries: [],
122-
include: ['element-plus', 'vue-router'],
123117
},
124118
});

yarn.lock

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@
191191
integrity sha1-ttbikFjKNpEnsO7KKhxLV5Txtrk=
192192

193193
"@babel/standalone@^7.14.9":
194-
version "7.14.9"
195-
resolved "https://registry.nlark.com/@babel/standalone/download/@babel/standalone-7.14.9.tgz#b9a6fa913271a153ca232fdd0f2aa5e3c951d9d5"
196-
integrity sha1-uab6kTJxoVPKIy/dDyql48lR2dU=
194+
version "7.15.7"
195+
resolved "https://registry.nlark.com/@babel/standalone/download/@babel/standalone-7.15.7.tgz#97c04d0dda7c3b2b8d2679957d619ac581471d4d"
196+
integrity sha1-l8BNDdp8OyuNJnmVfWGaxYFHHU0=
197197

198198
"@babel/template@^7.14.5":
199199
version "7.14.5"
@@ -392,7 +392,7 @@
392392
estree-walker "^1.0.1"
393393
picomatch "^2.2.2"
394394

395-
"@rollup/pluginutils@^4.1.0":
395+
"@rollup/pluginutils@^4.1.0", "@rollup/pluginutils@^4.1.1":
396396
version "4.1.1"
397397
resolved "https://registry.nlark.com/@rollup/pluginutils/download/@rollup/pluginutils-4.1.1.tgz?cache=0&sync_timestamp=1626395140635&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40rollup%2Fpluginutils%2Fdownload%2F%40rollup%2Fpluginutils-4.1.1.tgz#1d4da86dd4eded15656a57d933fda2b9a08d47ec"
398398
integrity sha1-HU2obdTt7RVlalfZM/2iuaCNR+w=
@@ -474,21 +474,21 @@
474474
resolved "https://registry.nlark.com/@types/unist/download/@types/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
475475
integrity sha1-JQp7FsO5H2cqJFUuxkZ47rHToI0=
476476

477-
"@vitejs/plugin-legacy@^1.5.1":
478-
version "1.5.1"
479-
resolved "https://registry.nlark.com/@vitejs/plugin-legacy/download/@vitejs/plugin-legacy-1.5.1.tgz#fef2a11c05d83f5ab13d2d04e52d75bac13c6e6c"
480-
integrity sha1-/vKhHAXYP1qxPS0E5S11usE8bmw=
477+
"@vitejs/plugin-legacy@^1.5.3":
478+
version "1.5.3"
479+
resolved "https://registry.nlark.com/@vitejs/plugin-legacy/download/@vitejs/plugin-legacy-1.5.3.tgz#3a2eabef302a6aa4feb2ce3cff6ddf95d573e9e1"
480+
integrity sha1-Oi6r7zAqaqT+ss48/23fldVz6eE=
481481
dependencies:
482482
"@babel/standalone" "^7.14.9"
483483
core-js "^3.16.0"
484484
magic-string "^0.25.7"
485485
regenerator-runtime "^0.13.9"
486486
systemjs "^6.10.2"
487487

488-
"@vitejs/plugin-vue@^1.3.0":
489-
version "1.3.0"
490-
resolved "https://registry.nlark.com/@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.3.0.tgz#fc89a6c9b5a5157916afece4edc8fb55bf1bbc42"
491-
integrity sha1-/ImmybWlFXkWr+zk7cj7Vb8bvEI=
488+
"@vitejs/plugin-vue@^1.9.2":
489+
version "1.9.2"
490+
resolved "https://registry.npmmirror.com/@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.9.2.tgz#7234efb8c3c3d60c7eac350a935074ab1820ae0e"
491+
integrity sha1-cjTvuMPD1gx+rDUKk1B0qxggrg4=
492492

493493
"@vue/compiler-core@3.2.11":
494494
version "3.2.11"
@@ -1188,9 +1188,9 @@ copy-descriptor@^0.1.0:
11881188
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
11891189

11901190
core-js@^3.16.0:
1191-
version "3.16.0"
1192-
resolved "https://registry.nlark.com/core-js/download/core-js-3.16.0.tgz#1d46fb33720bc1fa7f90d20431f36a5540858986"
1193-
integrity sha1-HUb7M3ILwfp/kNIEMfNqVUCFiYY=
1191+
version "3.18.1"
1192+
resolved "https://registry.npmmirror.com/core-js/download/core-js-3.18.1.tgz?cache=0&sync_timestamp=1632695708470&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcore-js%2Fdownload%2Fcore-js-3.18.1.tgz#289d4be2ce0085d40fc1244c0b1a54c00454622f"
1193+
integrity sha1-KJ1L4s4AhdQPwSRMCxpUwARUYi8=
11941194

11951195
core-js@^3.8.1:
11961196
version "3.17.3"
@@ -1450,15 +1450,20 @@ es-module-lexer@^0.6.0:
14501450
resolved "https://registry.nlark.com/es-module-lexer/download/es-module-lexer-0.6.0.tgz?cache=0&sync_timestamp=1625523919137&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fes-module-lexer%2Fdownload%2Fes-module-lexer-0.6.0.tgz#e72ab05b7412e62b9be37c37a09bdb6000d706f0"
14511451
integrity sha1-5yqwW3QS5iub43w3oJvbYADXBvA=
14521452

1453+
es-module-lexer@^0.7.1:
1454+
version "0.7.1"
1455+
resolved "https://registry.nlark.com/es-module-lexer/download/es-module-lexer-0.7.1.tgz#c2c8e0f46f2df06274cdaf0dd3f3b33e0a0b267d"
1456+
integrity sha1-wsjg9G8t8GJ0za8N0/OzPgoLJn0=
1457+
14531458
esbuild@0.11.3:
14541459
version "0.11.3"
14551460
resolved "https://registry.nlark.com/esbuild/download/esbuild-0.11.3.tgz?cache=0&sync_timestamp=1628141063741&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fesbuild%2Fdownload%2Fesbuild-0.11.3.tgz#b57165b907be4ffba651f6450538ce8d8c1d5eb0"
14561461
integrity sha1-tXFluQe+T/umUfZFBTjOjYwdXrA=
14571462

1458-
esbuild@^0.12.8:
1459-
version "0.12.17"
1460-
resolved "https://registry.nlark.com/esbuild/download/esbuild-0.12.17.tgz#5816f905c2905de0ebbc658860df7b5b48afbcd3"
1461-
integrity sha1-WBb5BcKQXeDrvGWIYN97W0ivvNM=
1463+
esbuild@^0.12.17:
1464+
version "0.12.29"
1465+
resolved "https://registry.npmmirror.com/esbuild/download/esbuild-0.12.29.tgz#be602db7c4dc78944a9dbde0d1ea19d36c1f882d"
1466+
integrity sha1-vmAtt8TceJRKnb3g0eoZ02wfiC0=
14621467

14631468
escalade@^3.1.1:
14641469
version "3.1.1"
@@ -3388,7 +3393,7 @@ redent@^3.0.0:
33883393

33893394
regenerator-runtime@^0.13.9:
33903395
version "0.13.9"
3391-
resolved "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
3396+
resolved "https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.13.9.tgz?cache=0&sync_timestamp=1626993001371&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fregenerator-runtime%2Fdownload%2Fregenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
33923397
integrity sha1-iSV0Kpj/2QgUmI11Zq0wyjsmO1I=
33933398

33943399
regex-not@^1.0.0, regex-not@^1.0.2:
@@ -3496,9 +3501,9 @@ rimraf@^3.0.2:
34963501
glob "^7.1.3"
34973502

34983503
rollup@^2.38.5:
3499-
version "2.55.1"
3500-
resolved "https://registry.nlark.com/rollup/download/rollup-2.55.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frollup%2Fdownload%2Frollup-2.55.1.tgz#66a444648e2fb603d8e329e77a61c608a6510fda"
3501-
integrity sha1-ZqREZI4vtgPY4ynnemHGCKZRD9o=
3504+
version "2.57.0"
3505+
resolved "https://registry.nlark.com/rollup/download/rollup-2.57.0.tgz?cache=0&sync_timestamp=1632286239603&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frollup%2Fdownload%2Frollup-2.57.0.tgz#c1694475eb22e1022477c0f4635fd0ac80713173"
3506+
integrity sha1-wWlEdesi4QIkd8D0Y1/QrIBxMXM=
35023507
optionalDependencies:
35033508
fsevents "~2.3.2"
35043509

@@ -4016,9 +4021,9 @@ svg-tags@^1.0.0:
40164021
integrity sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=
40174022

40184023
systemjs@^6.10.2:
4019-
version "6.10.2"
4020-
resolved "https://registry.nlark.com/systemjs/download/systemjs-6.10.2.tgz#c9870217bddf9cfd25d12d4fcd1989541ef1207c"
4021-
integrity sha1-yYcCF73fnP0l0S1PzRmJVB7xIHw=
4024+
version "6.10.3"
4025+
resolved "https://registry.nlark.com/systemjs/download/systemjs-6.10.3.tgz?cache=0&sync_timestamp=1629217120054&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsystemjs%2Fdownload%2Fsystemjs-6.10.3.tgz#7e783fccb58232f1d9eb05c7e1a661268945cade"
4026+
integrity sha1-fng/zLWCMvHZ6wXH4aZhJolFyt4=
40224027

40234028
table@^6.0.9, table@^6.6.0:
40244029
version "6.7.1"
@@ -4321,23 +4326,23 @@ vite-plugin-mock@^2.9.4:
43214326
fast-glob "^3.2.7"
43224327
path-to-regexp "^6.2.0"
43234328

4324-
vite-plugin-style-import@^1.0.1:
4325-
version "1.0.1"
4326-
resolved "https://registry.nlark.com/vite-plugin-style-import/download/vite-plugin-style-import-1.0.1.tgz#bf61337dd11e4ebc0f355f271e06d374b1ca5c79"
4327-
integrity sha1-v2EzfdEeTrwPNV8nHgbTdLHKXHk=
4329+
vite-plugin-style-import@^1.2.1:
4330+
version "1.2.1"
4331+
resolved "https://registry.nlark.com/vite-plugin-style-import/download/vite-plugin-style-import-1.2.1.tgz#730c7b0e1f61ed685974fe09d2d5094858491be6"
4332+
integrity sha1-cwx7Dh9h7WhZdP4J0tUJSFhJG+Y=
43284333
dependencies:
4329-
"@rollup/pluginutils" "^4.1.0"
4334+
"@rollup/pluginutils" "^4.1.1"
43304335
change-case "^4.1.2"
43314336
debug "^4.3.2"
4332-
es-module-lexer "^0.6.0"
4337+
es-module-lexer "^0.7.1"
43334338
magic-string "^0.25.7"
43344339

4335-
vite@^2.4.4:
4336-
version "2.4.4"
4337-
resolved "https://registry.nlark.com/vite/download/vite-2.4.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvite%2Fdownload%2Fvite-2.4.4.tgz#8c402a07ad45f168f6eb5428bead38f3e4363e47"
4338-
integrity sha1-jEAqB61F8Wj261Qovq048+Q2Pkc=
4340+
vite@^2.5.10:
4341+
version "2.5.10"
4342+
resolved "https://registry.npmmirror.com/vite/download/vite-2.5.10.tgz#c598e3b5a7e1956ffc52eb3b3420d177fc2ed2a5"
4343+
integrity sha1-xZjjtafhlW/8Uus7NCDRd/wu0qU=
43394344
dependencies:
4340-
esbuild "^0.12.8"
4345+
esbuild "^0.12.17"
43414346
postcss "^8.3.6"
43424347
resolve "^1.20.0"
43434348
rollup "^2.38.5"

0 commit comments

Comments
 (0)