Skip to content

lviggiani/node-rendersass-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-rendersass-middleware

Render scss in memory and delivers it. It also monitors all redered scss files for changes and recompile them automatically if required

Usage

import express from "express";
import rendersassMiddleware from "node-rendersass-middleware";

...

const app = express();

...

app.use(rendersassMiddleware()); // assumes your web pages are loading css from /css path 
                                 // and your scss sources are in scss folder

custom paths

app.use(rendersassMiddleware("style", path.join(process.cwd(), "myScssFolder"));

About

Render scss in memory and delivers it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published