node-lessify
Advanced tools
Comparing version 0.0.9-a to 0.0.9-b
{ | ||
"name": "node-lessify", | ||
"version": "0.0.9a", | ||
"version": "0.0.9b", | ||
"description": "LESS precompiler and CSS plugin for Browserify", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
node-lessify | ||
============ | ||
Version 0.0.9a | ||
Version 0.0.9b | ||
@@ -42,12 +42,11 @@ [![Build Status](https://travis-ci.org/wilson428/node-lessify.png)](https://travis-ci.org/wilson428/node-lessify) | ||
##Options | ||
## Options | ||
###Text Mode | ||
### Text Mode | ||
[As requested](https://github.com/wilson428/node-lessify/issues/1), it is now possible to ask the transformation not to auto-append the css but merely to compile it into a string and assign it to a variable. This is accomplished by adding a `package.json` file in the directory from which browserify is run with the following properties: | ||
"browserify": { | ||
"transform": ["node-lessify"], | ||
"transform-options": { | ||
"node-lessify": "textMode" | ||
} | ||
"transform": [ | ||
[ "node-lessify", {"textMode": true } ] | ||
] | ||
} | ||
@@ -57,3 +56,3 @@ | ||
###Plugins | ||
### Plugins | ||
You can pass a `plugins` argument to get less plugins like [autoprefix](https://www.npmjs.com/package/less-plugin-autoprefix): | ||
@@ -69,5 +68,8 @@ | ||
Note: This does not currently work via `package.json` arguments, since the plugins need to be required separately, but we're working on it. | ||
## Changes | ||
**v0.0.9b**: README fixes | ||
**v0.0.9a**: Allow for less plugins. Thx @henriklundgren! | ||
@@ -74,0 +76,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
10894
79