DocPad plugin that disables writing to the /out dir for .inc.* files
Want to see pretty graphs? Log in now!
npm install docpad-plugin-ignoreincludes
|1||downloads in the last week|
|18||downloads in the last month|
|Last Published By|
|Version||2.1.0 last updated a month ago|
|Keywords||docpad, docpad-plugin, stylus, less|
Ignore-Includes Plugin for DocPad
Avoids writing files that are intended to be included in other files to the /out directory. Very handy for stylesheet
.styl files that you wish to
@import into the main stylesheet file.
docpad install ignoreincludes
See here for a detailed explanation of why I created this plugin and why you might want to use it.
Any files with an extension matching
.inc.* will not be written to the
You can also customise which output extensions are to be ignored via the
ignoreExtensions config option. E.g.
plugins: ignoreincludes: ignoreExtensions: ['inc', 'abc']
Stylus @import Example
Rename your stylus include files with a
.inc.styl extension. Then import them into your main stylesheet. E.g.
@import 'myinclude1.inc' @import 'myinclude2.inc'
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Copyright © Richard Antecki email@example.com (richard.antecki.id.au)