Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed May 15, 2024
1 parent c360021 commit 06e76ba
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup-plugin-vue-i18n/examples/global/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup-plugin-vue-i18n/examples/legacy/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin-vue-i18n/examples/vite/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin-vue-i18n/examples/webpack/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
10 changes: 4 additions & 6 deletions packages/unplugin-vue-i18n/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,8 @@ export const unplugin = createUnplugin<PluginOptions>((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}`)
}
Expand Down Expand Up @@ -399,9 +398,8 @@ export const unplugin = createUnplugin<PluginOptions>((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}`)
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-vue-i18n/examples/global/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-vue-i18n/examples/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-vue-i18n/examples/legacy/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
10 changes: 4 additions & 6 deletions packages/vite-plugin-vue-i18n/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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()}`)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n-loader/examples/composition/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n-loader/examples/global/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n-loader/examples/legacy/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down

0 comments on commit 06e76ba

Please sign in to comment.