x-to-css

2.0.5 • Public • Published

x-to-css

Take less, sass, scss or css and output minified, autoprefixed css

usage

npm i x-to-css

or

npm i -D x-to-css

const XtoCss = require("x-to-css");

XtoCss("test/test.scss", "path/to/dist.css", {
	maps: true,
	callback: function(path, contents){
		// pass the path and contents
	}
});
//=> will output minified autoprefixed css to path/to/dist.css
//=> and a sourceMap to path/to/dist.css.map

XtoCss("some/style.less", "path/to/dist.css");
//=> will output minified autoprefixed css to path/to/dist.css
//=> no sourceMaps

Readme

Keywords

none

Package Sidebar

Install

npm i x-to-css

Weekly Downloads

2

Version

2.0.5

License

MIT

Unpacked Size

4.84 kB

Total Files

8

Last publish

Collaborators

  • paul-browne