summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/CompressCss.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Move src/ to lib/, put Init.hs in src/Jasper Van der Jeugt1-86/+0
2017-06-10Some small CSS compression improvementsNicole Rauch1-6/+7
* We now also compress whitespace around commas. * Remove whitespace around some other operators as well. * Clarified the code around the separator compression and even improved the code (one case slipped through unnoticed).
2016-08-15Also trim whitespace around colons.Nicole Rauch1-2/+2
2016-08-14Removed two compiler warnings (unnecessary imports).Nicole Rauch1-2/+0
2016-08-14Unified the constant cases in all three functions.Nicole Rauch1-8/+8
2016-08-14Extracted a helper method because it was defined locally twice.Nicole Rauch1-8/+11
2016-08-14Do not strip comments that are inside constants.Nicole Rauch1-0/+2
2016-08-14Compressed the code by grouping the guards together.Nicole Rauch1-9/+6
2016-08-14We must avoid the compression of whitespace in constants by handling it in ↵Nicole Rauch1-1/+9
the same way.
2016-08-14Improved the compaction a bit more.Nicole Rauch1-2/+1
2016-08-14Compacted the code by unifying all the similar prefix options.Nicole Rauch1-9/+6
2016-08-14We need to constantly check whether we are at the start of a constant, not ↵Nicole Rauch1-5/+11
just once.
2016-08-14Whitespace in certain kinds of string constants is no longer eliminated.Nicole Rauch1-6/+22
2016-07-22Fixes https://github.com/jaspervdj/hakyll/issues/323 we have less ↵Luca Molteni1-1/+1
compression but we preserve correct CSS semantic
2016-04-06Clean warningsJasper Van der Jeugt1-1/+0
2012-11-18Add Item abstractionJasper Van der Jeugt1-2/+3
2012-11-13WIPJasper Van der Jeugt1-22/+31
2012-11-09Remove Resource typeJasper Van der Jeugt1-2/+1
2012-08-02Added proper handling of windows newlines during whitespace compression of ↵Ivan N. Veselov1-2/+2
CSS files. Simpified several regexps.
2011-04-05New resource module hierarchyJasper Van der Jeugt1-1/+1
2011-02-28Web.Util.String → {Web.Util.Url, Core.Util.String}Jasper Van der Jeugt1-1/+1
2011-02-15defaultRelativizeUrls → relativizeUrlsCompilerJasper Van der Jeugt1-2/+1
2011-02-15defaultCompressCss → compressCssCompilerJasper Van der Jeugt1-1/+11
2011-01-18Add some more defaultsJasper Van der Jeugt1-1/+1
2011-01-02Add toUrl, move & optimize replaceAll a bitJasper Van der Jeugt1-15/+1
2010-12-30Backport CompressCss moduleJasper Van der Jeugt1-0/+56