1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-08 06:06:57 +02:00

feat: output styles to docs, so site can use them

This commit is contained in:
Jonas Kuske
2019-06-09 16:17:24 +02:00
parent 72385eb668
commit a1be24b96b
3 changed files with 7 additions and 4 deletions

View File

@@ -112,6 +112,9 @@ function style() {
.pipe(sourcemaps.write('.'))
// Write the minified files
.pipe(gulp.dest(paths.styles.dest))
// Output files to docs directory so documentation site can use them
.pipe(gulp.dest(paths.docs.dest + '/water.css'))
// Final size report including gzipped sizes
.pipe(sizereport({ gzip: true, total: false, title: 'SIZE REPORT' }))
// Stream any changes to browserSync
.pipe(browserSync.stream())