git ssb

0+

Rômulo Alves / website



Commit 86a0935365d49d93e60d8e0857c88f2595d758e8

Including favicon in the build

Rômulo Alves committed on 3/22/2017, 2:48:12 AM
Parent: 4829da0340008840b7dfcb92b1c75d1e1f687112

Files changed

gulpfile.jschanged
package.jsonchanged
gulpfile.jsView
@@ -11,5 +11,11 @@
1111 css: [ rev() ],
1212 html: [ htmlmin({ collapseWhitespace: true }) ],
1313 inlinecss: [ cleanCss(), 'concat' ]
1414 }))
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'])
package.jsonView
@@ -16,9 +16,9 @@
1616 ]
1717 },
1818 "scripts": {
1919 "dev": "serve ./src",
20- "build": "gulp usemin",
20+ "build": "gulp",
2121 "start": "serve ./dist"
2222 },
2323 "repository": {
2424 "type": "git",

Built with git-ssb-web