We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misskeyをビルドすると、Webpackバンドルにひときわサイズが大きいチャンクがあります。
これはKaTeXの実行部分のようです。
中身を見ると、フォントファイル(あろうことか、Base64エンコなttf&woff&woff2の3種類)が含まれている模様。モダンブラウザならwoff2だけあればよいので、webpackの設定とかでフォントファイルを切り出すようにするべきかと思いました。
The text was updated successfully, but these errors were encountered:
https://github.com/syuilo/misskey/blob/d6e23b803b10a471bb5b1054b357c70a16e8f6da/webpack.config.ts#L108
url-loaderで明示してるのか なにか理由が…?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Summary
Misskeyをビルドすると、Webpackバンドルにひときわサイズが大きいチャンクがあります。
これはKaTeXの実行部分のようです。
中身を見ると、フォントファイル(あろうことか、Base64エンコなttf&woff&woff2の3種類)が含まれている模様。モダンブラウザならwoff2だけあればよいので、webpackの設定とかでフォントファイルを切り出すようにするべきかと思いました。
The text was updated successfully, but these errors were encountered: