Skip to content

Releases: cheton/browserify-css

v0.15.0

22 May 03:08
Compare
Choose a tag to compare

Bump find-node-modules to 2.0.0 for security update (closes #66)

v0.14.0

22 Nov 03:03
Compare
Choose a tag to compare
  • 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

08 Nov 11:40
Compare
Choose a tag to compare

Replace Array.includes() with Array.indexOf() for Node.js v4 and v5 compability (6653175)

v0.13.0

08 Nov 11:36
Compare
Choose a tag to compare

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

27 Oct 10:32
Compare
Choose a tag to compare

Ignore parsed CSS files to avoid duplicate CSS (ef30144, #56)

v0.12.0

22 Aug 15:05
Compare
Choose a tag to compare

v0.11.1

20 Jul 02:27
Compare
Choose a tag to compare

Clean-css had a breaking change, the minify() method now returns an object instead of string. (fixes #53)

v0.11.0

05 Jul 16:02
Compare
Choose a tag to compare

Update clean-css (2.2.x) to the latest version (4.1.5) (resolves #52)

v0.10.1

01 May 03:17
Compare
Choose a tag to compare

Bug Fixes

Converts string to boolean when passing transform options from command line (resolves #51)

v0.10.0

26 Jan 15:40
Compare
Choose a tag to compare

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");