Frage

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!

War es hilfreich?

Lösung

r.js does not optimize HTML files.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top