meteor-bower icon indicating copy to clipboard operation
meteor-bower copied to clipboard

Don't download multiple copies of packages

Open geekyme opened this issue 11 years ago • 2 comments

I have a bower package "yamm3" which depends on bootstrap-3. When I run my meteor app, it downloads bs3 into the .meteor/local/bower folder.

Now if I also have a smart package bootstrap-3, will meteor-bower end up loading both copies of the bs3 (consequently increasing client files)?

geekyme avatar Jul 07 '14 10:07 geekyme

I have a similar problem. I have a bower package that depends on three other bower packages. However, my package has a build step which combines everything into a final UMD module. This is the module that I would like meteor-bower to load into ./meteor/local/bower, however it also loads the other three subdependencies, which are uncecessary. It would be useful for me if there was an option to either allow or disallow including subdependencies on a per-package basis.

speigg avatar Jul 17 '14 23:07 speigg

Yes, I think you'll have two copies. PR welcome.

lorensr avatar Jan 07 '15 00:01 lorensr