How to exclude bower lib source files


This might be a basic question for someone familiar with bower and ionic build/publish tools : how do you exclude extraneous unnecessary lib source files from the build. For instance when I added the jquery and moment js files it also included a lot of source and unminified files. When I do ionic build, it seems to copy all those source files to the build output.

Is there a way I can have it package up only the needed min files instead of all the js source files?


Did you find a solution for this?
Currently we use a feature based file architecture and include our tests with each component. It would be nice to ensure the tests are not mingled into the final build.


Use :grin: