Releases: cheton/browserify-css
Releases · cheton/browserify-css
v0.15.0
Bump find-node-modules to 2.0.0 for security update (closes #66)
v0.14.0
-
Adds a stripComments
option to strip comments from CSS using strip-css-comments. Defaults to false.
This will resolve an issue that CSS parser cannot properly handle inline comments (#38), like below:
font-size: 1.1em/*{fsDefault}*/;
v0.13.1
Replace Array.includes() with Array.indexOf() for Node.js v4 and v5 compability (6653175)
v0.13.0
Add an output
option to output CSS file from the command line (8f31d4c, #58)
browserify -t [ browserify-css --minify=true --output bundle.css ] -o bundle.js app.js
v0.12.1
Ignore parsed CSS files to avoid duplicate CSS (ef30144, #56)
v0.11.1
Clean-css had a breaking change, the minify() method now returns an object instead of string. (fixes #53)
v0.11.0
Update clean-css (2.2.x) to the latest version (4.1.5) (resolves #52)
v0.10.1
Bug Fixes
Converts string to boolean when passing transform options from command line (resolves #51)
v0.10.0
Enhancements
Adds an inlineImages option that can replace the image data with data URIs (PR #47)
For example from:
background-image: url("background.png");
to:
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVQAAAHgCAYAAAD6yZXWAAAABmJLR0QA");