Comments (2)
Sorry for replying so late.
This plugin is intended to avoid such function bundling. Webpack can automatically eliminate React even without this plugin. But it doesn't. I cloned your project and tried. You are right about the reason. Because React is a CJS module. Webpack can not analyze CJS module because it's too flexible.
from webpack-deep-scope-analysis-plugin.
About your second PS. This plugin is used to analyze the references between imports and exports, so the tests is focused on input -> output in a single module.
from webpack-deep-scope-analysis-plugin.
Related Issues (19)
- "Cannot read property 'call' of undefined" in bootstrap HOT 13
- when i use this plugins, webpack-deep-scope-analysis-plugin did not reduce the size of the lodash-es library. HOT 10
- README not found on NPM HOT 1
- 打包后出现语法错误 HOT 4
- bundle package raise error Uncaught TypeError: (void 0) is not a function HOT 1
- 这个插件会影响路由懒加载&动态import的使用吗?
- Cannot read property 'call' of undefined HOT 4
- [Question] Is this works with import - exports files? HOT 1
- What's the latest version? HOT 2
- Plugin fails on dynamic imports
- Please upgrade to Webpack 5 HOT 2
- This has been integrated into webpack 5 available as `optimization.innerGraph`, enabled by default in production
- sorry, II was getting an error when using with webpack 5 HOT 1
- Error on build -- * is not an export variable HOT 10
- Cannot read property 'generateExportInfo' of undefined HOT 6
- Breaks on Angular applications HOT 5
- JavaScript heap out of memory HOT 5
- 应该是module.exports而不是module.export
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webpack-deep-scope-analysis-plugin.