-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
Windows Enviroment: useref not injecting the files that are in "bower_components" #12
Comments
This works for me, thank you very much. |
this worked for me as well on linux(ubuntu), thanks |
Awesome, thanks for this |
Awesome !!! thank you very much
weird.... |
just downloaded the zip folder...it has no bower_components directory in the root.. |
@Dcolonel6 try and install with bower type bower install in your command line or terminal |
Explanation:
When gulp-inject adds the references from the bower components folder, it creates them with this path:
After running the optimize task, the _vendor.css_ and _vendor.js_ where not created in the build folder. The issue was that gulp-useref couldn't locate correctly the bower_components folder because was looking in a different path:
Instead of this
Solution/Workaround
I just added another pipe in the inject task using gulp-replace
The text was updated successfully, but these errors were encountered: