Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bower Components in the App (production) folder #30

Closed
simonwalsh opened this issue Sep 27, 2013 · 2 comments
Closed

Bower Components in the App (production) folder #30

simonwalsh opened this issue Sep 27, 2013 · 2 comments

Comments

@simonwalsh
Copy link

Hey guys I have a question more than an issue, but it might still be a good thing for the project as a whole:

When you install bower components, they go into the components folder. When you then build the project, the way I understand the Grunfile.js file, it will simply copy-paste the content of the src components to its app equivalent.

My questions are :

  1. Is there any way of only transfering the relevant files (e.g. jquery.min.js) into the app components folder instead of the whole bower component files ? I know of grunt-bower-clean but you really need to precisely target which files are gonna go into your build...
  2. The way the bower stuff is now transferred means there is no way for me to concat and compress those files in the build. I know most of them are often production ready but still it would be nice to have the option to at least concat them...

Thoughts ?

@oswaldoacauan
Copy link

Its a big problem of bower (copy all folder instead only the production files), you can achieve that with grunt-contrib-usemin.

@simonwalsh
Copy link
Author

would you guys suggest we use grunt-contrib-usemin in the grunt build process then ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants