Commit 86a0935365d49d93e60d8e0857c88f2595d758e8
Including favicon in the build
Rômulo Alves committed on 3/22/2017, 2:48:12 AMParent: 4829da0340008840b7dfcb92b1c75d1e1f687112
Files changed
gulpfile.js | changed |
package.json | changed |
gulpfile.js | ||
---|---|---|
@@ -11,5 +11,11 @@ | ||
11 | 11 | css: [ rev() ], |
12 | 12 | html: [ htmlmin({ collapseWhitespace: true }) ], |
13 | 13 | inlinecss: [ cleanCss(), 'concat' ] |
14 | 14 | })) |
15 | - .pipe(gulp.dest('dist/'))) | |
15 | + .pipe(gulp.dest('dist/'))) | |
16 | + | |
17 | +gulp.task('copy', () => | |
18 | + gulp.src('./src/favicon.png') | |
19 | + .pipe(gulp.dest('dist/'))) | |
20 | + | |
21 | +gulp.task('default', ['usemin', 'copy']) |
Built with git-ssb-web