Skip to content

yoannisj/sass-browserslist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sass-browserslist

Use browserslist in your Libsass/node-sass modules.

Usage

sass-browserslist is a node-js module that delegates to the browserslist() function, and formats the results as expected by various sass libraries managing browsers support. To actually get the formatted browsers list in sass, use node-sass's function option, or use a custom importer such as node-sass-import-once.

var sass = require('node-sass'); var sassBrowserslist = require('sass-browserslist');

sass.render({ /* ... */, functions: { 'sass-browserslist': sassBrowserslist.supportFor } });

support-for()

Returns the list of minimum browsers versions, as understood by sass's support-for module. Accepts the same parameters as the browserslist() function.

var sassBrowserslist = require('sass-support-for'); sassBrowserslist.supportFor();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published