Css optimization does not work if i build in the browser (js optimization works).
If I set:
requirejs.optimize({
baseUrl: '.',
optimizeCss:'standard',
cssIn:'/r/tests/browser/main.css',
out: function (text) {
document.getElementById('output').value = text;
}
}, function (buildText) {
document.getElementById('buildMessages').value = buildText;
});
Css optimization does not work if i build in the browser (js optimization works). If I set: requirejs.optimize({ baseUrl: '.', optimizeCss:'standard', cssIn:'/r/tests/browser/main.css', out: function (text) { document.getElementById('output').value = text; } }, function (buildText) { document.getElementById('buildMessages').value = buildText; });
In the console: " Error {} "