UNPKG

gulp-enhanced-vulcanize

Version:

gulp enhanced vulcanize forked from vulcanize

46 lines (30 loc) 852 B
# gulp-enhanced-vulcanize > Fork from `vulcanize` and support `less` > Concatenate a set of Web Components into one file with [Vulcanize](https://github.com/Polymer/vulcanize) Fully Supporting `less` when build polymer elements with inline style ## Install ```sh $ npm install --save-dev gulp-enhanced-vulcanize ``` ## Usage ```js 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](https://github.com/Polymer/grunt-vulcanize#options) plus the below. #### options.dest *Required* Type: `string` The destination directory. Unfortunately needed to get correct relative paths in the output.