Closed bodokaiser closed 10 years ago
When you have multiple local components which require the same dependencies then builder includes these dependencies for each local.
This means for example that there are three copies of "superagent~0.18.0" in build.js which of course bloats up the code quite hard.
Is this intended?
Sorry I accidentally used the += operator for concating the build in the build middleware which lead to multiple includes. There is not bug in builder
+=
When you have multiple local components which require the same dependencies then builder includes these dependencies for each local.
This means for example that there are three copies of "superagent~0.18.0" in build.js which of course bloats up the code quite hard.
Is this intended?