I have an assembly of web packages with multiple inputs, and I'm working on optimizing the size of the artifact for production. webpack-bundle-analyzer
The following picture appeared:

Obviously, AtlasKit dependencies make up a huge chunk of overall artifact size. In particular, I see that styled-components.es.js
repeated many times. Moreover, the same dependency is also present in vendor.js
, which in itself is used for all other packages.
- , styled-components.es.js
vendor.js
? -, , styled-components.es.js
vendor.js
?
, AtlasKit node_modules
, . dist
? , , styled-components.es.js
vendor.js
?

webpack IgnorePlugin ( moment.js
), .
. !