Domanda

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!

È stato utile?

Soluzione

r.js does not optimize HTML files.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top