misskey/packages/frontend
anatawa12 8598f3912e
per-locale bundle & inline locale (#16369)
* feat: split entry file by locale name

* chore: とりあえず transform hook で雑に分割

* chore: とりあえず transform 結果をいい感じに

* chore: concurrent buildで高速化

* chore: vite ではローケルのないものをビルドして後処理でどうにかするように

* chore: 後処理のためにi18n.jを単体になるように切り出す

* chore: use typescript

* chore: remove unref(i18n) in vite build process

* chore: inline variable

* fix: build error

* fix: i18n.ts.something.replaceAll() become error

* chore: ignore export specifier from error

* chore: support i18n.tsx as object

* chore: process literal for all files

* chore: split config and locale

* chore: inline locale name

* chore: remove updating locale in boot common

* chore: use top-level await to load locales

* chore: inline locale

* chore: remove loading locale from boot.js

* chore: remove loading locale from boot.js

* コメント追加

* fix test; fetchに失敗する

* import削除ログをdebugレベルに

* fix: watch pug

* chore: use hash for entry files

* chore: remove es-module-lexer from dependencies

* chore: move to frontend-builder

* chore: use inline locale in embed

* chore: refetch json on hot reload

* feat: store localization related to boot.js in backend in bootloaderLocales localstorage

* 応急処置を戻す

* fix spex

* fix `Using i18n identifier "e" directly. Skipping inlining.` warning

* refactor: use scriptsDir parameter

* chore: remove i18n from depmap

* chore: make build crash if errors

* error -> warn few conditions

* use inline object

* update localstorage keys

* remove accessing locale localstorage

* fix: failed to process i18n.tsx.aaa({x:i18n.bbb})
2025-08-08 11:26:18 +09:00
..
.storybook per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
.vscode test(#10336): add `components/Mk[A-B].*` stories (#10475) 2023-04-13 12:20:39 +09:00
@types Feat: ドライブ周りのUIの強化 (#16011) 2025-05-21 07:31:24 +09:00
assets feat(frontend): 画像編集機能 (#16121) 2025-06-03 19:18:29 +09:00
lib コントロールパネルの検索 (#16343) 2025-08-03 11:02:20 +09:00
public (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
src per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
test feat(frontend): 絵文字をミュート可能にする機能 (#15966) 2025-05-12 10:00:06 +09:00
.gitignore per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
build.ts per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
eslint.config.js refactor(frontend): improve pagination implementation 2025-06-29 15:11:25 +09:00
package.json per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
tsconfig.json per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
vite.config.ts per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
vite.json5.ts Fix type errors from vite.json5.ts (#9936) 2023-02-15 17:14:47 +09:00
vue-shims.d.ts Fix/vue import error on intellij (#12612) 2023-12-09 13:13:31 +09:00