Open mrroot5 opened 8 years ago
Just to clarify your meaning:
bower.json
file?Just to further clarify:
bower.json
file?/bower_components/
folder?Sorry, I try to clarify with an example (bootstrap):
In my current project into the /bower_components/ folder it install the folders: js, less, nuget, grunt and fonts but in a production environment I only need de "dist" folder. If we have an option to choose between dev and production dependencies we can save a lot of hdd space.
I try to explain it better but english is not my mother language :(.
Oh, I see what you're saying!
Unfortunately, what you're asking isn't possible. I'll try to explain why:
bower.json
filebower.json
is what instructs Bower (or in our case, bower.json
instructs Brackets-Bower) what to dobower.json
file has a section called "ignore", which tells your computer to save HDD space by ignoring certain files (this stops Bower from downloading them in the first place)
So basically, if you only need the /dist/
folder, your only option is to download the whole Bootstrap package, and delete all of the other folders manually.
I hope I've explained this to your understanding . . . I understand the difficulties when you're not using your mother language :+1:
Perfect. I thought that bower had a option to download only production package (dist for example) but I see that this option doesn't exists yet :-(.
Thank you very much for your patience and explanations. Close this issue :-).
Is there any option to install only production packages? If not, can you add one please?.