Documentation
¶
Overview ¶
package 'css' helps to reduce the file-size of a given .css-file. it takes a very simple and naive approach to css-minification:
ignore linebreaks
condense multiples spaces/tabs into one " "
ignore whitespace before/after "{", ",", ":", ".", ";"
ignore comments
add linebreaks after "}" (optional)
Index ¶
Constants ¶
View Source
const PREFIX_EXCL_COMMENT = "/*!"
Variables ¶
This section is empty.
Functions ¶
func KeepExclamationComments ¶
func KeepExclamationComments(r *reducer) error
keeps comments like /*! this */
Types ¶
Click to show internal directories.
Click to hide internal directories.