Skip to content

mbykovskyy/broccoli-vulcanize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •