Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

broccoli-vulcanize

4.0.0 • Public • Published

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.

install

npm i broccoli-vulcanize

Downloadsweekly downloads

56

version

4.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability