Component plugin for wintersmith
CoffeeScript HTML JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
.gitignore
index.js
package.json
plugin.coffee
readme.md

readme.md

wintersmith-component

Component plugin for wintersmith.

HEY! Component is not maintained anymore and neither is this module!

Install

Using wintersmith:

$ wintersmith plugin install component

Using npm:

$ npm install wintersmith-component

Usage

TODO docs. For now, see the example directory.

Options

Specify options under the component key of your config.

defaults =
  dev: env.mode == 'preview'        # include development dependencies
  sourceUrls: env.mode == 'preview' # add @sourceURLs for easy debugging
  src: '.'                          # location of base component.json
  js: 'build/build.js'              # path to JS output
  css: 'build/build.css'            # path to CSS output
  urlPrefix: '..'                   # prefix CSS urls
  use: []                           # array of builder.js plugins†

list of component builder plugins