Yeoman Angular Generator Grunt Build scripts /vendor.js empty

I created an angular project through yo angular [project-name] , tried to build it through grunt build . I checked the dist/scripts/vendor.d41d8cd9.js and I see it empty. I found this question , and it didn’t help me at all. If someone can point me in the right direction, we will be very grateful.

+6
source share
1 answer

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

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

in

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

and he solved my problem :)

+24
source

Source: https://habr.com/ru/post/970919/


All Articles