node package manager

gulp-enhanced-vulcanize

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.