Opened 15 years ago

Closed 14 years ago

#3122 closed enhancement (fixed)

Add stripping comments out of CSS to build process

Reported by: owen Owned by: James Burke
Priority: high Milestone: 0.9
Component: BuildSystem Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


Note to add stripping of comments out of dijit and theme.css files to the build process. May want to consider combining the CSS files as well (although there could be implications for image paths with that).

Change History (3)

comment:1 Changed 15 years ago by Adam Peller

Owner: changed from alex to James Burke

comment:2 Changed 14 years ago by James Burke

Milestone: 0.9

I may try to pick up the comment stripping part only for 0.9.

comment:3 Changed 14 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [10230]) Fixes #3122. CSS files can now have comments and lines stripped. Also changed optimization options that used .lineReturns to .keepLines to make it clear using that option keeps line returns in. The CSS stripping is off by default, since this is a newer feature. Specify cssOptimize=comments to get it to run.

Note: See TracTickets for help on using tickets.