Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver2
17いいね 372回再生

Find Unused code using Chrome Devtools #shorts

Google Chrome DevTools comes with a lot of jam-packed functionalities. One of them is a code coverage inspector. I lets you understand what percent of the code is being used to render the current webpage.

Steps:
1. Inspect the page and open Devtools
2. Go to Settings → More tools and Coverage
3. Start coverage inspector and see the result
4. Click on individual files to see what part of code is not used


Subscribe to the channel: youtube.com/c/varunap
My Twitter: twitter.com/apvarun
My LinkedIn: linkedin.com/in/apvarun

#webdev #learntocode #learntodebug #shorts

コメント