Monday 8 May 2017

Angularjs can find module after optmize with requirejs optimizer

I have this repo angularseed at this commit: a9ad4568bd8534b888ae5cb3bf1a7f92f66d633d (just learning tools and libs). Maybe somebody can help me.

The problem that I have it's when I try to optimize my code with Optimizer from requirejs. Im using grunt-contrib-requirejs.

To see the problem, you must to clone the repo.

Nodejs it's mandatory.

https://github.com/neonds/angularseed.git
cd angularseed
npm run configure //to download deps
npm run dev //then open http://localhost:9000
npm run prod

When I run the prod script, it seems that ngRouter its not correctly loaded and. Can Somebody help me to find the problem?

enter image description here

Thanks!!



via neons

No comments:

Post a Comment