gulp-enhanced-vulcanize
Version:
gulp enhanced vulcanize forked from vulcanize
46 lines (30 loc) • 852 B
Markdown
> 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
```sh
$ npm install --save-dev gulp-enhanced-vulcanize
```
```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));
});
```
These [options](https://github.com/Polymer/grunt-vulcanize#options) plus the below.
*Required*
Type: `string`
The destination directory.
Unfortunately needed to get correct relative paths in the output.