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

Does Not Minify Angular Boostrap (UI Bootrap) #148

Open
codebend3r opened this issue Oct 28, 2015 · 1 comment
Open

Does Not Minify Angular Boostrap (UI Bootrap) #148

codebend3r opened this issue Oct 28, 2015 · 1 comment

Comments

@codebend3r
Copy link
Contributor

Minifying ui-bootstrap js doesn't work for some strange reason:

<script src='bower_components/angular-bootstrap/ui-bootstrap.js'></script>
<script src='bower_components/angular-bootstrap/ui-bootstrap-tpls.js'></script>

All my other files minify perfectly fine, except for both ui.bootstrap.

I tried copying the content of that js file, I tried renaming it, and I tried moving the entire folder to another folder and none of that works. What could this code contain that does not allow it to minify?

<!-- build:js js/bower.js -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src='bower_components/bootstrap/dist/js/bootstrap.js'></script>

<script src='bower_components/angular-bootstrap/ui-bootstrap.js'></script>
<script src='bower_components/angular-bootstrap/ui-bootstrap-tpls.js'></script>

<!-- endbuild -->
@fdrobidoux
Copy link

Have you tried removing the empty lines in-between?
Have you tried minifying and concatenating them together without the usage of gulp-usemin?

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