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