Blackboxing Scripts in Chrome DevTools - mhulse/mhulse.github.io GitHub Wiki
There are two ways you can add scripts to the blackbox blacklist:
- Using the Settings panel: Right-clicking on any script in the Sources panel Settings panel
- Use the Settings panel to configure blackboxed scripts: Open the DevTools Settings and click on the “Blackboxing” tab.
^https:\/\/
, basically block any CDN-hosted libraries (greedy, but I’d prefer to be implicit)plugins
, I like to put all locally hosted and manually installed libraries/plugins in this directory (when not using a package manager to manage dependencies)\.min\.js$
, for all minified sourcesnode_modules
andbower_components
, for package manager dependencies~
, home, for dependencies in a Webpack bundlebundle.js
, it’s a bundle itself (we use sourcemaps, don’t we?)- (webpack)-hot-middleware — “Hot Module Replacement”, (HMR) is a feature to inject updated modules into the active runtime.