Adds support for the SCSS CSS pre-processor to DocPad using node-sass
Want to see pretty graphs? Log in now!
npm install docpad-plugin-nodesass
|42||downloads in the last day|
|140||downloads in the last week|
|766||downloads in the last month|
|Last Published By|
|Version||2.3.0 last updated 23 days ago|
|Keywords||docpad, docpad-plugin, render, rendering, sass, scss, stylesheets, preprocessor, css, node-sass, bourbon|
|Dependencies||taskgroup, node-sass, node-bourbon, node-neat, mkdirp|
.sass syntax is not supported by node-sass, so it is not supported by this plugin.
npm install --save docpad-plugin-nodesass
normal will print comments in the output css that indicates the source file name and line number.
map will produce a sourcemap. Using either of these options instead of
none will prevent you from being able to run any other process on the file (e.g.
debugInfo requires passing an actual file instead of
Render Underscore Stylesheets
By default we prevent any SCSS stylesheets that filename starts with underscore character from being rendered and written to the output directory. This is to follow SCSS convention that such files are just intended to be included inside out stylesheets, and that they are not meant to be rendered by themselves. If you really want to, you can render the underscore stylesheets by setting the
renderUnderscoreStylesheets option to
true in your plugin's configuration.