/plugin-sass

SystemJS SASS loader plugin

Primary LanguageJavaScriptMIT LicenseMIT

plugin-sass

Build Status Dependency Status

SystemJS SASS loader plugin. Can easily be installed with jspm package manager.

$ jspm install scss=sass

To apply your SASS styles to your current page asynchronously:

System.import('./style.scss!');

or synchronously

import './style.scss!';

You can also use the older syntax , known as the indented syntax (or sometimes just "Sass")

System.import('./style.sass!scss');

Testing the plugin

$ npm install -g gulp
...
$ npm install
...
$ jspm install

Now you can test runtime compilation

$ gulp test:runtime

bundling

$ gulp test:bundle

or static bundling

$ gulp test:bundleStatic

After that open http://localhost:3000 in the browser of your choice.