dojo / dijit-themes

Dojo 1 - modern themes
Other
29 stars 21 forks source link

strip comments from compiled CSS #12

Open wkeese opened 9 years ago

wkeese commented 9 years ago

Should probably compress, or at least strip comments, from the compiled CSS files.
For example, https://github.com/dojo/themes/blob/master/flat/dijit/Calendar.css got compiled with a lot of comments.

Alternately you could probably just use C++ style comments:

// comment

rather than C style comments:

/*
 * comment
 */

and then the stylus compiler would strip them.

I suppose it doesn't matter if people do a build, since that will concatenate and minify CSS files, but maybe not everyone will do that.