javascript - grunt serve:dist not working with Backbone Generator RequireJS -


i'm using generator-backbone yeoman generate app. i'm using requirejs option this. after generating, can run grunt serve correctly. after adding views , tempaltes, , running grunt serve, try test "dist" folder. run grunt build, works correctly, when running app dist folder several errors regarding of views files not loading, require js.

i 404 not found these files , script error requirejs.

is there needs added in included gruntfile js files views included in process?

thanks help!

update: gruntfile, generated generator-backbone:

http://codeshare.io/gjdwa

summary: grunt serve works fine. grunt build runs fine grunt serve:dist or running app frm dist folder doesn;t work. blank page these errors:

http://screencloud.net/v/6o91 errors in console running dist folder

in case else encounters issue, problem related property: findnesteddependencies: true in optimization configuration.

cheers!


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -