Skip to content

Commit f80bd1d

Browse files
update example project vite version to ^2.0.2 (#362)
1 parent b77af3e commit f80bd1d

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

examples/lazy-loading/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@intlify/vite-plugin-vue-i18n": "^1.0.0-beta.12",
1515
"@vitejs/plugin-vue": "^1.0.4",
1616
"@vue/compiler-sfc": "^3.0.5",
17-
"vite": "^2.0.0-beta.15"
17+
"vite": "^2.0.2"
1818
},
1919
"private": true
2020
}

examples/lazy-loading/vite/src/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function setI18nLanguage(i18n: I18n, locale: string): void {
2929

3030
export async function loadLocaleMessages(i18n: I18n, locale: string) {
3131
// load locale messages
32-
const messages = await import(/* @vite-ignore */ `./src/locales/${locale}.yaml`)
32+
const messages = await import(/* @vite-ignore */ `./locales/${locale}.yaml`)
3333

3434
// set locale and locale message
3535
i18n.global.setLocaleMessage(locale, messages.default)

examples/lazy-loading/vite/yarn.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,10 @@ emojis-list@^3.0.0:
371371
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78"
372372
integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==
373373

374-
esbuild@^0.8.26:
375-
version "0.8.31"
376-
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.8.31.tgz#c21e7adb3ad283c951a53de7ad64a5ae2df2ed34"
377-
integrity sha512-7EIU0VdUxltwivjVezX3HgeNzeIVR1snkrAo57WdUnuBMykdzin5rTrxwCDM6xQqj0RL/HjOEm3wFr2ijHKeaA==
374+
esbuild@^0.8.47:
375+
version "0.8.50"
376+
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.8.50.tgz#ebf24fde0cdad1a369789dd6fd7a820b0a01e46c"
377+
integrity sha512-oidFLXssA7IccYzkqLVZSqNJDwDq8Mh/vqvrW+3fPWM7iUiC5O2bCllhnO8+K9LlyL/2Z6n+WwRJAz9fqSIVRg==
378378

379379
escalade@^3.1.1:
380380
version "3.1.1"
@@ -410,10 +410,10 @@ fs.realpath@^1.0.0:
410410
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
411411
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
412412

413-
fsevents@~2.1.2:
414-
version "2.1.3"
415-
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
416-
integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==
413+
fsevents@~2.3.1:
414+
version "2.3.2"
415+
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
416+
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
417417

418418
function-bind@^1.1.1:
419419
version "1.1.1"
@@ -706,12 +706,12 @@ resolve@^1.19.0:
706706
is-core-module "^2.1.0"
707707
path-parse "^1.0.6"
708708

709-
rollup@^2.35.1:
710-
version "2.36.1"
711-
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.36.1.tgz#2174f0c25c7b400d57b05628d0e732c7ae8d2178"
712-
integrity sha512-eAfqho8dyzuVvrGqpR0ITgEdq0zG2QJeWYh+HeuTbpcaXk8vNFc48B7bJa1xYosTCKx0CuW+447oQOW8HgBIZQ==
709+
rollup@^2.38.5:
710+
version "2.39.0"
711+
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.39.0.tgz#be4f98c9e421793a8fec82c854fb567c35e22ab6"
712+
integrity sha512-+WR3bttcq7zE+BntH09UxaW3bQo3vItuYeLsyk4dL2tuwbeSKJuvwiawyhEnvRdRgrII0Uzk00FpctHO/zB1kw==
713713
optionalDependencies:
714-
fsevents "~2.1.2"
714+
fsevents "~2.3.1"
715715

716716
[email protected], source-map@^0.6.1:
717717
version "0.6.1"
@@ -785,17 +785,17 @@ util-deprecate@^1.0.2:
785785
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
786786
integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
787787

788-
vite@^2.0.0-beta.15:
789-
version "2.0.0-beta.15"
790-
resolved "https://registry.yarnpkg.com/vite/-/vite-2.0.0-beta.15.tgz#cd2f1037b4767538839b4c6b4f71a1f9512c7654"
791-
integrity sha512-S+NRqL+/QZooWbshnB/Rht1Ln0ldyUcGwghwprvmzI4fXAfM0rFU5g6uno0DdueYnHn0jDO3ExQktGyQuNb9Ww==
788+
vite@^2.0.2:
789+
version "2.0.2"
790+
resolved "https://registry.yarnpkg.com/vite/-/vite-2.0.2.tgz#d984528b5a1c8e725d2804245751769b11d671cf"
791+
integrity sha512-X+PTIPRt6/5Odf/h0kBkwkck+YC0I6oKH5+ttA9ytoLyC9yeksktVq1KNzImqB+/1CNBiBE2vr7orcgSxAi67w==
792792
dependencies:
793-
esbuild "^0.8.26"
793+
esbuild "^0.8.47"
794794
postcss "^8.2.1"
795795
resolve "^1.19.0"
796-
rollup "^2.35.1"
796+
rollup "^2.38.5"
797797
optionalDependencies:
798-
fsevents "~2.1.2"
798+
fsevents "~2.3.1"
799799

800800
vue-i18n@^9.0.0-rc.1:
801801
version "9.0.0-rc.1"

0 commit comments

Comments
 (0)