diff --git a/packages/rollup-plugin-vue-i18n/examples/composition/index.html b/packages/rollup-plugin-vue-i18n/examples/composition/index.html index ea5df06..7ce255f 100644 --- a/packages/rollup-plugin-vue-i18n/examples/composition/index.html +++ b/packages/rollup-plugin-vue-i18n/examples/composition/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/rollup-plugin-vue-i18n/examples/global/index.html b/packages/rollup-plugin-vue-i18n/examples/global/index.html index 6a39b58..6aa60fe 100644 --- a/packages/rollup-plugin-vue-i18n/examples/global/index.html +++ b/packages/rollup-plugin-vue-i18n/examples/global/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/rollup-plugin-vue-i18n/examples/legacy/index.html b/packages/rollup-plugin-vue-i18n/examples/legacy/index.html index ea5df06..7ce255f 100644 --- a/packages/rollup-plugin-vue-i18n/examples/legacy/index.html +++ b/packages/rollup-plugin-vue-i18n/examples/legacy/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/unplugin-vue-i18n/examples/vite/index.html b/packages/unplugin-vue-i18n/examples/vite/index.html index c590e3a..e068b9b 100644 --- a/packages/unplugin-vue-i18n/examples/vite/index.html +++ b/packages/unplugin-vue-i18n/examples/vite/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/unplugin-vue-i18n/examples/webpack/index.html b/packages/unplugin-vue-i18n/examples/webpack/index.html index b186c00..8ac0893 100644 --- a/packages/unplugin-vue-i18n/examples/webpack/index.html +++ b/packages/unplugin-vue-i18n/examples/webpack/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/unplugin-vue-i18n/src/index.ts b/packages/unplugin-vue-i18n/src/index.ts index 1f44bc5..c6f82ba 100644 --- a/packages/unplugin-vue-i18n/src/index.ts +++ b/packages/unplugin-vue-i18n/src/index.ts @@ -218,9 +218,8 @@ export const unplugin = createUnplugin((options = {}, meta) => { }) } else { // eslint-disable-next-line @typescript-eslint/no-explicit-any - ;(config.resolve!.alias as any)[ - vueI18nAliasName - ] = `petite-vue-i18n/dist/petite-vue-i18n.esm-bundler.js` + ;(config.resolve!.alias as any)[vueI18nAliasName] = + `petite-vue-i18n/dist/petite-vue-i18n.esm-bundler.js` } debug(`petite-vue-i18n alias name: ${vueI18nAliasName}`) } @@ -399,9 +398,8 @@ export const unplugin = createUnplugin((options = {}, meta) => { useVueI18nImportName ) { // eslint-disable-next-line @typescript-eslint/no-explicit-any - ;(compiler.options.resolve!.alias as any)[ - vueI18nAliasName - ] = `petite-vue-i18n/dist/petite-vue-i18n.esm-bundler.js` + ;(compiler.options.resolve!.alias as any)[vueI18nAliasName] = + `petite-vue-i18n/dist/petite-vue-i18n.esm-bundler.js` debug(`petite-vue-i18n alias name: ${vueI18nAliasName}`) } diff --git a/packages/vite-plugin-vue-i18n/examples/composition/index.html b/packages/vite-plugin-vue-i18n/examples/composition/index.html index 3fd8b96..81c7390 100644 --- a/packages/vite-plugin-vue-i18n/examples/composition/index.html +++ b/packages/vite-plugin-vue-i18n/examples/composition/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/vite-plugin-vue-i18n/examples/global/index.html b/packages/vite-plugin-vue-i18n/examples/global/index.html index 217d955..c7887b0 100644 --- a/packages/vite-plugin-vue-i18n/examples/global/index.html +++ b/packages/vite-plugin-vue-i18n/examples/global/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/vite-plugin-vue-i18n/examples/index.html b/packages/vite-plugin-vue-i18n/examples/index.html index 54de997..3813755 100644 --- a/packages/vite-plugin-vue-i18n/examples/index.html +++ b/packages/vite-plugin-vue-i18n/examples/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/vite-plugin-vue-i18n/examples/legacy/index.html b/packages/vite-plugin-vue-i18n/examples/legacy/index.html index f7a8d44..efaeb43 100644 --- a/packages/vite-plugin-vue-i18n/examples/legacy/index.html +++ b/packages/vite-plugin-vue-i18n/examples/legacy/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/vite-plugin-vue-i18n/src/index.ts b/packages/vite-plugin-vue-i18n/src/index.ts index 73c0330..ddc1932 100644 --- a/packages/vite-plugin-vue-i18n/src/index.ts +++ b/packages/vite-plugin-vue-i18n/src/index.ts @@ -120,9 +120,8 @@ function pluginI18n( }) } else { // eslint-disable-next-line @typescript-eslint/no-explicit-any - ;(config.resolve!.alias as any)[ - getAliasName() - ] = `${installedPkg}/dist/${runtimeModule}` + ;(config.resolve!.alias as any)[getAliasName()] = + `${installedPkg}/dist/${runtimeModule}` } debug(`alias name: ${getAliasName()}`) debug( @@ -141,9 +140,8 @@ function pluginI18n( }) } else { // eslint-disable-next-line @typescript-eslint/no-explicit-any - ;(config.resolve!.alias as any)[ - 'vue-i18n' - ] = `petite-vue-i18n/dist/petite-vue-i18n.mjs` + ;(config.resolve!.alias as any)['vue-i18n'] = + `petite-vue-i18n/dist/petite-vue-i18n.mjs` } debug(`alias name: ${getAliasName()}`) } diff --git a/packages/vue-i18n-loader/examples/composition/index.html b/packages/vue-i18n-loader/examples/composition/index.html index fd99226..3633e60 100644 --- a/packages/vue-i18n-loader/examples/composition/index.html +++ b/packages/vue-i18n-loader/examples/composition/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/vue-i18n-loader/examples/global/index.html b/packages/vue-i18n-loader/examples/global/index.html index 2bd91cc..c7a6aef 100644 --- a/packages/vue-i18n-loader/examples/global/index.html +++ b/packages/vue-i18n-loader/examples/global/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/vue-i18n-loader/examples/legacy/index.html b/packages/vue-i18n-loader/examples/legacy/index.html index ffd9fc7..1e74d44 100644 --- a/packages/vue-i18n-loader/examples/legacy/index.html +++ b/packages/vue-i18n-loader/examples/legacy/index.html @@ -1,4 +1,4 @@ - +