
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
docpad-plugin-sassmultipath
Advanced tools
Adds support for the SASS and SCSS CSS pre-processors to DocPad. It also supports the Compass framework.
Fork from docpad-plugin-sass, add support for multiple loadPath
Adds support for the SASS and SCSS CSS pre-processors to DocPad. It also supports the Compass framework.
This SASS/SCSS plugin uses the original ruby implementation, which requires installing ruby and the necessary gems. If you would like to use a native node implementation which would be faster (but no support for 3rd party ruby gems like compass etc) then we'd recommend using the nodesass plugin. More info here.
Convention: .css.(sass|scss)
Install this plugin
docpad install sass
For information on customising your plugin configuration you can refer to the DocPad FAQ
We automatically detect the path to your sass and scss executables, however sometimes that doesn't work and you will get ENOENT
errors. If our detection fails and you'll have to manually specify the path to your sass and scss executables with the sassPath
and scssPath
config options, more info here.
We automatically detect if you have compass installed, and if you do, then we'll use it. If our detection fails and you want to still use it, then set the compass
option to true
. If you have compass installed but don't want to use it then set the compass
option to false
.
You can set the outputStyle
option to any of the supported output styles. Those being nested
, expanded
, compact
, and compressed
. By default, we use the compressed
mode for all environments, except the development mode where it is set to expanded
.
You can set the requireLibraries
option to an array of extra ruby libraries you'd like to include before rendering your sass file. For instance, setting it to ['susy','compass-colors']
will include the Susy and Compass Colors plugins. By default, the value is set to null
indicating we do not include any libaries.
By default we prevent any SASS/SCSS stylesheets that filename starts with underscore character from being rendered and written to the output directory. This is to follow SASS/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.
If you want to use sourcemaps, set the sourcemap
option to true
.
If you want to use bundler you can set something like this in docpad.coffee:
plugins:
sass:
scssPath: ['bundle','exec','scss']
sassPath: ['bundle','exec','sass']
If you want to use another load path beside current dir you can set something like this in docpad.coffee:
plugins:
sassmultipath:
scssPath: ['bundle','exec','scss']
sassPath: ['bundle','exec','sass']
ERROR: Cannot load compass.
Install compass again using: gem install compass --pre
Discover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Licensed under the incredibly permissive MIT license
Copyright © 2012+ Bevry Pty Ltd us@bevry.me (http://bevry.me)
FAQs
Adds support for the SASS and SCSS CSS pre-processors to DocPad. It also supports the Compass framework.
The npm package docpad-plugin-sassmultipath receives a total of 0 weekly downloads. As such, docpad-plugin-sassmultipath popularity was classified as not popular.
We found that docpad-plugin-sassmultipath demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.