🌎 A completely free and open interplanetary-microblogging platform 🚀 https://misskey-hub.net/
  • TypeScript 63.1%
  • Vue 30.3%
  • JavaScript 5.8%
  • GLSL 0.4%
  • SCSS 0.2%
Find a file
anatawa12 21a4f95bd6
fix: the script contains locale json is prefetched (#17585)
This commit upgrades rolldown used by vite to 1.1.0 and set
includeDependenciesRecursively instead of maxSize for
i18n code splitting group.

We unexpectedly prefetched the script file includes locale JSON
before this fix because locale inliner did not remove prefetch
for transitive dependency of i18n global variable.

Current locale inliner assumes the file contains i18n global
variable and the file contains i18n global variable are same file
and only removes prefetch for the file for i18n global variable
and leaves dependency files of the file.
However, in the previous fix for rolldown migration regression,
we set `maxSize: 1` for manual chunk of i18n.
This makes the chunk for i18n global variable (@/i18n.js) and
the chunk includes locale JSON (@@/js/locale.js) distinct chunks.
As a result, only prefetch for i18n global is removed and local
JSON remain in the prefetch file name dictionary (__vite__mapDeps).

There is two ways to fix this problem: 1) make rolldown to bundle
i18n related files into one but leave unrelated files separated
module or 2) update locale inliner to remove transitive dependency
of i18n of __vite__mapDeps.
2nd way is prune to rolldown changes, and it's possible by parsing
each .js file to (re)create module graph in inliner, it's complex.
Therefore, this commit fixes this with 1st way with
includeDependenciesRecursively option on `codeSplitting.groups`
newly added in rolldown 1.1.0.
Since latest vite as of writing (8.0.16) strictly depends on
rolldown 1.0.3, we cannot use it normally. We use overrides
to work around this problem. As far as I checked the vite
repository, upgrading rolldown to 1.1.x includes no code changes
except for package.json, so I hope this upgrade is safe.
2026-06-20 08:59:01 +09:00
.agents/skills docs(agents): Follow-up of #17582 [ci skip] 2026-06-18 21:26:09 +09:00
.claude docs(agents): エージェント向けのドキュメントを拡充 (#17582) 2026-06-18 20:23:15 +09:00
.config perf: rsa sign on slacc (#17322) 2026-05-12 17:36:49 +09:00
.devcontainer perf: rsa sign on slacc (#17322) 2026-05-12 17:36:49 +09:00
.github chore(llm/docs): .claude配下の再構成 (#17514) 2026-06-03 09:03:10 +09:00
.okteto ok-to-test with okteto (#8799) 2022-06-09 00:50:23 +09:00
.vscode enhance(backend): pugをやめ、JSXベースのテンプレートに変更 (#16908) 2025-12-01 18:36:55 +09:00
assets 🎨 2025-05-07 10:44:43 +09:00
chart perf: rsa sign on slacc (#17322) 2026-05-12 17:36:49 +09:00
cypress deps: Update dependencies (#17304) 2026-04-12 00:57:16 +09:00
idea add ideas 2025-09-27 20:53:21 +09:00
locales New Crowdin updates (#17555) 2026-06-18 18:41:00 +09:00
packages fix: the script contains locale json is prefetched (#17585) 2026-06-20 08:59:01 +09:00
patches Revert typeorm patches (#16664) 2025-10-19 11:34:34 +09:00
scripts deps: update dependencies (#17575) 2026-06-17 12:13:50 +09:00
.dockerignore Minify backend (#17054) 2026-01-05 20:56:52 +09:00
.dockleignore fix: aptのキャッシュを削除しないようにする (#9803) 2023-02-05 14:15:59 +09:00
.editorconfig Migration cleanup (#16288) 2025-07-16 15:49:05 +09:00
.gitattributes 改行コードをLFに統一 (#9926) 2023-02-14 13:13:34 +09:00
.gitignore Update .gitignore 2026-06-04 19:40:20 +09:00
.gitmodules enhance: 絵文字データの参照を自前ライブラリに変更 (#17381) 2026-05-09 18:35:38 +09:00
.node-version use node 22.15.0 by default 2025-12-06 17:39:17 +09:00
.vsls.json Add .vsls.json 2018-08-13 00:24:45 +09:00
AGENTS.md docs(agents): エージェント向けのドキュメントを拡充 (#17582) 2026-06-18 20:23:15 +09:00
CHANGELOG.md fix(backend): skip inbox activities without an actor instead of throwing TypeError (#17558) 2026-06-19 15:00:17 +09:00
CLAUDE.md docs: AI コーディングエージェント共通設定を追加 (#17396) 2026-05-12 17:56:06 +09:00
CODE_OF_CONDUCT.md docs: Update Code of Conduct to version 2.1 (#12150) 2023-11-13 16:52:54 +09:00
codecov.yml Update codecov.yml 2023-02-26 14:17:29 +09:00
compose.local-db.yml Update PostgreSQL volume mount paths for PostgreSQL 18 (#16986) 2025-12-14 11:32:42 +09:00
compose_example.yml Update PostgreSQL volume mount paths for PostgreSQL 18 (#16986) 2025-12-14 11:32:42 +09:00
CONTRIBUTING.md Update CONTRIBUTING.md 2026-05-15 10:12:17 +09:00
COPYING enhance: 絵文字データの参照を自前ライブラリに変更 (#17381) 2026-05-09 18:35:38 +09:00
crowdin.yml ドキュメントをmisskey-hubに移行 2021-11-05 16:18:52 +09:00
cypress.config.ts Feat: サーバー初期設定ウィザード (#15954) 2025-05-09 19:41:54 +09:00
Dockerfile fix(docker): runnerでのpnpmの依存関係チェックを無効化 (#17425) 2026-05-18 10:23:47 +09:00
healthcheck.sh feat(backend): add /healthz endpoint (#13834) 2024-05-23 15:19:52 +09:00
LICENSE Use AGPLv3 2018-03-28 22:56:28 +09:00
package.json Bump version to 2026.6.0-beta.1 2026-06-19 06:06:06 +00:00
pnpm-lock.yaml fix: the script contains locale json is prefetched (#17585) 2026-06-20 08:59:01 +09:00
pnpm-workspace.yaml fix: the script contains locale json is prefetched (#17585) 2026-06-20 08:59:01 +09:00
Procfile Create Procfile 2019-04-05 18:17:30 +09:00
README.md Update README.md 2026-01-07 21:43:31 +09:00
renovate.json5 chore: set nodeMaxMemory to 4096 in renovate configuration (#17437) 2026-05-19 22:25:30 +09:00
ROADMAP.md Update ROADMAP with completed tasks 2025-11-11 09:30:13 +09:00
SECURITY.md Update SECURITY.md 2025-02-01 13:57:39 +09:00

Misskey logo

🌎 Misskey is an open source, federated social media platform that's free forever! 🚀

Learn more


find an instance create an instance become a contributor join the community become a patron

Ask DeepWiki

Thanks

Sentry

Thanks to Sentry for providing the error tracking platform that helps us catch unexpected errors.

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Codecov

Thanks to Codecov for providing the code coverage platform that helps us improve our test coverage.

Crowdin

Thanks to Crowdin for providing the localization platform that helps us translate Misskey into many languages.

Docker

Thanks to Docker for providing the container platform that helps us run Misskey in production.


Support us with a !

Star History Chart