Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yeoman Angular Generator Grunt Build scripts/vendor.js is Empty

I have generated an angular project via yo angular [project-name], tried building it via grunt build. I checked the dist/scripts/vendor.d41d8cd9.js file and I see it empty. I found this issue and it didn't help me at all. If anyone can point me to the right direction, it would be greatly appreciated.

like image 699
ryeballar Avatar asked Jun 17 '14 04:06

ryeballar


1 Answers

I found the answer somehow, I changed the build:js tag from:

<!-- build:js scripts/vendor.js -->
<!-- bower:js -->

<!-- endbower -->
<!-- endbuild -->

to:

<!-- build:js(./) scripts/vendor.js -->
<!-- bower:js -->

<!-- endbower -->
<!-- endbuild -->

and it solved my problem :)

like image 153
ryeballar Avatar answered Oct 16 '22 04:10

ryeballar