Concatenate a set of Web Components into one file with
Vulcanize
Issues with the output should be reported on the Vulcanize
issue tracker.
$ npm install --save-dev gulp-vulcanize
var gulp = require('gulp');
var vulcanize = require('gulp-vulcanize');
gulp.task('default', function () {
return gulp.src('src/index.html')
.pipe(vulcanize({
abspath: '',
excludes: [],
stripExcludes: false
}))
.pipe(gulp.dest('dest'));
});
See the Vulcanize
options.
MIT © Sindre Sorhus