electron-middle-sass
v1.0.4
Published
Compile .sass and .scss files to .css as they are requested
Downloads
35
Maintainers
Readme
electron-middle-sass
Compile .sass
and .scss
files to .css
as they are requested by your electron app
Learn how to write Sass and Scss at sass-lang.com
This project uses electron-middle, a middleware for electron
Install
Within your project folder, run npm install electron-middle-sass
Usage
Require electron-middle-sass
in your main electron project script:
require('electron-middle-sass')
Now, whenever your app attempts to load a .css
file, electron-middle-sass
will try to find a .scss
or a .sass
file to compile and return instead