stealjs / steal-conditional

Conditional loading
https://stealjs.com/docs/steal-conditional.html
MIT License
6 stars 1 forks source link

Conditional loading seems to cause duplicate dependencies to be bundled #54

Closed imaustink closed 6 years ago

imaustink commented 7 years ago

Here is console output for building the canjs site, showing the same version of flexibility being opened five times.

canjs_____-bash_____138__48

CC @matthewp

matthewp commented 6 years ago

It displays multiple dependencies but they are not actually built more than once. A problem with the display. I see this in donejs-chat now in DoneJS 2.0:

OPENING: /Users/matthew/dev/donejs2-test/donejs-chat/package.json!npm
OPENING: donejs-chat@0.0.0#messages/messages
OPENING: donejs-chat@0.0.0#home.component!done-component@2.0.0#component
OPENING: can-debug@1.0.1#can-debug
OPENING: can-debug@1.0.1#can-debug
OPENING: can-debug@1.0.1#can-debug
OPENING: can-debug@1.0.1#can-debug