Broccoli plugin for Polymer Vulcanize tool
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
tests
.editorconfig
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

broccoli-vulcanize

Build Status

Broccoli plugin for Polymer vulcanize tool.

Install

npm install --save-dev broccoli-vulcanize

Usage

var vulcanize = require('broccoli-vulcanize');
var inputTree = 'public';
var options = {
  input: 'index.html',
  output: 'output/vulcanized.html',
  abspath: '/webroot/',
  excludes: ['.css', '.js'],
  stripExcludes: [],
  addedImports: [
    'foo/bar.html'
  ],
  redirects: [
    'https://example.com/foo/bar.html|/foo/bar/baz.html'
  ],
  stripComments: false,
  inlineScripts: false,
  inlineCss: false,
  implicitStrip: true
};

module.exports = vulcanize(inputTree, options);

See polymer vulcanize for details on options.