Differential / meteor-vulcanize

Vulcanize html imports in your meteor app.
32 stars 15 forks source link

Vulcanize

Warning: API Change for version 1.0.0.

This package a meteor build plugin that wraps the vulcanize npm package, which is used to process web components into a single output file.

Usage

  1. Ensure all your components are located somewhere under your public directory. (via bower, zip, etc)
  2. Include a config.vulcanize file in the root of your project. This file will optionally define a path to the polyfill and paths to html imports for your components. For Example:
{
    "polyfill": "/bower_components/webcomponentsjs/webcomponents.min.js",
    "useShadowDom": true, // optional, defaults to shady dom (polymer default)
    "imports": [
        "/bower_components/paper-button/paper-button.html",
        "/bower_components/paper-checkbox/paper-checkbox.html"
    ]
}