0.1.1 • Published 7 years ago

sourcejs-sass v0.1.1

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

SASS support for SourceJS Specs

SourceJS middleware to support SASS files linked in spec files

Works with SourceJS v.0.5.6+.

Install

To install, run npm in sourcejs/user folder:

npm i sourcejs-sass -S

Then restart your SourceJS application, middleware will be loaded automatically.

Usage

After installing middleware, linked .scss files will be parsed and replaced with style tag containing rendered CSS

<link href="style.scss" rel="stylesheet">

...

My Sepcs

Will be replaced with:

<style type="text/css">
 ... my parsed CSS
</style>

...

My Sepcs