Skip to content

Commit

Permalink
docs: include vite-plugin-inspect in troubleshooting page (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF authored Aug 24, 2023
1 parent cf1d0d4 commit 9166458
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guide/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ vite build --profile

Node.js インスペクターはルートフォルダに `vite-profile-0.cpuprofile` を生成し、https://www.speedscope.app/ に遷移、`BROWSE` ボタンを使って CPU プロファイルをアップロードし、結果を検証します。

[vite-plugin-inspect](https://github.com/antfu/vite-plugin-inspect) をインストールすると、Vite プラグインの中間状態を検査することができ、アプリケーションのボトルネックとなっているプラグインやミドルウェアを特定するのに役立ちます。このプラグインは開発モードとビルドモードの両方で使用できます。詳しくは readme ファイルをご覧ください。

## その他

### ブラウザ互換性のためにモジュールを外部化
Expand Down

0 comments on commit 9166458

Please sign in to comment.