C
C
ch-aqwer2021-01-08 14:33:53
JavaScript
ch-aqwer, 2021-01-08 14:33:53

How to make sure that only those dependencies that are used get into the webpack bundle?

Good afternoon! Can you please tell me if it is possible to make webpack compile only those modules that are used somewhere?
I use yarn workspace + webpack 5 , so the project is divided into modules, where dependencies from one module should not fall into the bundle of another module?
Is it possible to do this? I will be grateful..

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question