find_unused_javascript
Identify and report unused JavaScript code from a webpage to optimize bundle size. Specify the URL, device type, and minimum unused bytes threshold for precise auditing.
Instructions
Find unused JavaScript code to reduce bundle size
Input Schema
Name | Required | Description | Default |
---|---|---|---|
device | No | Device to emulate (default: desktop) | desktop |
minBytes | No | Minimum unused bytes to report (default: 2048) | |
url | Yes | URL to audit |