misskey/packages/frontend-embed/src
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
..
components enhance(frontend): blurhash無効化オプションを追加 2025-05-11 14:17:08 +09:00
pages refactor(frontend): 空/エラー結果表示をコンポーネント化 (#15963) 2025-05-06 14:41:31 +09:00
workers perf(frontend): draw-blurhash workerの結果をpostMessageする際にImageBitmapを移譲する (#16330) 2025-07-30 09:30:07 +09:00
boot.ts per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
custom-emojis.ts feat(frontend): ノート・ユーザータイムライン埋め込み (#13929) 2024-09-09 20:57:36 +09:00
di.ts perf(embed): improve embed performance (#14613) 2024-09-23 19:49:52 +09:00
i18n.ts per-locale bundle & inline locale (#16369) 2025-08-08 11:26:18 +09:00
misskey-api.ts refactor(frontend): frontend-embed/src/to-be-sharedを共通化 (#14536) 2024-09-10 18:39:53 +09:00
post-message.ts update deps (#15311) 2025-02-15 10:24:22 +09:00
server-context.ts perf(embed): improve embed performance (#14613) 2024-09-23 19:49:52 +09:00
server-metadata.ts fix(frontend/frontend-embed): インポートパス・テーマまわりなどの修正 (#14535) 2024-09-10 16:14:02 +09:00
style.scss refactor(frontend): 空/エラー結果表示をコンポーネント化 (#15963) 2025-05-06 14:41:31 +09:00
theme.ts fix(frontend-embed): 型チェックエラーを修正 (#15216) 2025-01-08 12:00:02 +00:00
ui.vue refactor(frontend): prefix css variables (UI) (#14739) 2024-10-10 16:12:16 +09:00
utils.ts fix(frontend-embed): #14613 で抜け落ちた処理を戻す (#14623) 2024-09-24 19:27:20 +09:00