{"library":"deep-scope-analyser","type":"library","category":null,"description":"Webpack plugin (npm package deep-scope-analyser v1.7.0, low activity) that improves tree-shaking by performing deep scope analysis to eliminate unused imports and exports. Designed for webpack 4.14.0+ and Node.js 8+. It solves webpack issue #6264 by analyzing variable scopes to determine which imports can be safely removed, beyond what webpack's built-in tree-shaking achieves. The plugin works only with ES module syntax (import/export) and requires the PURE annotation for side-effect marking. Originally named webpack-deep-scope-plugin (v1.5.x), renamed to deep-scope-analyser in v1.6.0 for standalone use. Maintained by a GSoC 2018 student, but has seen no updates since 2019. Differentiators: deeper analysis than standard tree-shaking; but limited to webpack 4 and ESM-only, with potential compatibility issues.","language":"javascript","status":"maintenance","version":"1.7.0","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install deep-scope-analyser","imports":["import WebpackDeepScopeAnalysisPlugin from 'webpack-deep-scope-plugin';","const WebpackDeepScopeAnalysisPlugin = require('webpack-deep-scope-plugin').default;","import WebpackDeepScopeAnalysisPlugin from 'deep-scope-analyser';"]},{"cmd":"yarn add deep-scope-analyser","imports":[]},{"cmd":"pnpm add deep-scope-analyser","imports":[]}],"homepage":null,"github":"https://github.com/vincentdchan/webpack-deep-scope-analysis-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/deep-scope-analyser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/deep-scope-analyser/compatibility"}}