![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
docpad-plugin-nodesass
Advanced tools
Adds support for the Sass CSS pre-processor to DocPad using node-sass
The indented .sass
syntax is not supported by node-sass, so it is not supported by this plugin.
Convention: .css.scss
npm install --save docpad-plugin-nodesass
outputStyle: 'nested'|'compressed'
outputStyle
is a String
to determine how the final CSS should be rendered. Its value should be one of 'nested'
or 'compressed'
. 'expanded'
and 'compact'
are not currently supported by libsass.
imagePath: '/path/to/images'
imagePath
is a String
that represents the public image path. When using the image-url()
function in a stylesheet, this path will be prepended to the path you supply. eg. Given an imagePath
of /path/to/images
, background-image: image-url('image.png')
will compile to background-image: url("/path/to/images/image.png")
precision: 5
precision
is a Number
that will be used to determine how many digits after the decimal will be allowed. For instance, if you had a decimal number of 1.23456789
and a precision of 5
, the result will be 1.23457
in the final CSS.
bourbon: false|true
If set to true
, the Bourbon mixin library will be available for use. (Using the node port)
debugInfo: false|'normal'|'map'
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. FILE.css.scss.eco
), because debugInfo
requires passing an actual file instead of stdin
.
neat: false|true
If set to true
, the Neat semantic grid framework will be available for use. (Using the node port.) Setting this to true
will also set bourbon
to true
.
renderUnderscoreStylesheets: false|true
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.
You can discover the history inside the History.md
file
You can discover the contributing instructions inside the Contributing.md
file
Licensed under the incredibly permissive MIT License
Copyright © 2012+ Bevry Pty Ltd us@bevry.me
Copyright © 2013+ Jimmy King hello@jimmyking.me
FAQs
Adds support for the Sass CSS pre-processor to DocPad using node-sass
The npm package docpad-plugin-nodesass receives a total of 6 weekly downloads. As such, docpad-plugin-nodesass popularity was classified as not popular.
We found that docpad-plugin-nodesass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.