Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Broccoli plugin for Polymer Vulcanize tool

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •