SourceJS middleware to support SASS files linked in spec files
Works with SourceJS v.0.5.6+.
To install, run npm in sourcejs/user
folder:
npm i sourcejs-sass -S
Then restart your SourceJS application, middleware will be loaded automatically.
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