broccoli-vulcanize
v4.0.0
Published
Broccoli plugin for Polymer Vulcanize tool
Downloads
35
Maintainers
Readme
broccoli-vulcanize
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
.