Can I optimize html files with r.js?
-
21-12-2019 - |
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!
Lösung
r.js
does not optimize HTML files.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow