misskey/packages/backend/src/server/web
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
..
views per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
ClientLoggerService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ClientServerService.ts clean up 2025-08-04 10:31:26 +09:00
FeedService.ts fix: avatarId が null のときにも avatarUrl が non null 担ってることがある問題 (#15833) 2025-04-15 16:10:17 +09:00
UrlPreviewService.ts enhance(backend): 外部サイトのOGPのキャッシュ期間を調整 2025-05-29 13:53:33 +09:00
bios.css (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
bios.js (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
boot.embed.js per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
boot.js per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
cli.css (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
cli.js (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
error.css enhance(frontend): サーバーエラー画面の多言語対応 (#15549) 2025-02-24 05:23:20 +00:00
error.js enhance(frontend): サーバーエラー画面の多言語対応 (#15549) 2025-02-24 05:23:20 +00:00
manifest.json feat(frontend): セーフモード (#16245) 2025-08-01 17:20:40 +09:00
style.css feat(frontend): タイトルバーを表示できるように 2025-04-29 09:43:15 +09:00
style.embed.css feat(frontend): タイトルバーを表示できるように 2025-04-29 09:43:15 +09:00