gulp-enhanced-vulcanize

0.2.0 • Public • Published

gulp-enhanced-vulcanize

Fork from vulcanize and support less

Concatenate a set of Web Components into one file with Vulcanize

Fully Supporting less when build polymer elements with inline style

Install

$ npm install --save-dev gulp-enhanced-vulcanize

Usage

var gulp = require('gulp');
var vulcanize = require('gulp-enhanced-vulcanize');
 
gulp.task('default', function () {
    gulp.src("path/to/*")
        .pipe(vulcanize({
            dest: DEST_DIR,
            strip: true,
            inline: true
        }))
        .pipe(gulp.dest(DEST_DIR));
});

API

vulcanize(options)

These options plus the below.

options.dest

Required
Type: string

The destination directory.

Unfortunately needed to get correct relative paths in the output.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    0
    • latest

Version History

Package Sidebar

Install

npm i gulp-enhanced-vulcanize

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • limingv5