문제

Actually the subject expresses what I need. I've tried like this:

node ../../r.js -o app.build.js

I tried to include html files as modules:

...
modules: [
...
    {
        name: "app/views/site/index.html"
    }
...
],

but uglify optimizer did not processed the file.

If somebody knows how, I'd appreciate your advice. Thanks!

도움이 되었습니까?

해결책

r.js does not optimize HTML files.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top