1.6.0 • Published 6 years ago
gulp-polymer-build-utils v1.6.0
gulp-polymer-build-utils
Utils to simplify building Polymer applications
See this blog post about the background and functionality of the gulp plugins.
Usage
Install the build-utils:
npm install gulp-polymer-build-utils --save
Use the plugins and tasks in the Gulp config file gulpfile.js
:
const gulp = require('gulp');
const polymerBuildUtils = require('gulp-polymer-build-utils');
const runSequence = require('run-sequence');
gulp.task('prepare-dist', function() {
return polymerBuildUtils.polymerBuild(require('./polymer.json'))
.pipe(polymerBuildUtils.addCspCompliance())
.pipe(polymerBuildUtils.addCacheBusting())
.pipe(polymerBuildUtils.optimizeAssets())
.pipe(polymerBuildUtils.injectCustomElementsEs5Adapter())
.pipe(gulp.dest('dist'));
});
gulp.task('default', function(cb) {
runSequence('prepare-dist', 'inline-references', cb);
});
1.6.0
6 years ago
1.5.0
6 years ago
1.4.7
7 years ago
1.4.6
7 years ago
1.4.5
7 years ago
1.4.4
7 years ago
1.4.3
7 years ago
1.4.2
7 years ago
1.4.1
7 years ago
1.4.0
7 years ago
1.3.1
7 years ago
1.3.0
7 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago