diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js index 6884eae..9a39ebb 100644 --- a/gulpfile.js +++ b/gulpfile.js | |||
@@ -96,6 +96,10 @@ | |||
96 | .pipe(filter('*.css')) | 96 | .pipe(filter('*.css')) |
97 | .pipe(gulp.dest(dir.dist + '/css')); | 97 | .pipe(gulp.dest(dir.dist + '/css')); |
98 | 98 | ||
99 | var resolveLocalCSS = gulp.src(dir.src + '/css/**/*') | ||
100 | .pipe(filter('*.css')) | ||
101 | .pipe(gulp.dest(dir.dist + '/css')); | ||
102 | |||
99 | var resolveLESS = gulp.src(bowerFiles) | 103 | var resolveLESS = gulp.src(bowerFiles) |
100 | .pipe(filter('*.less')) | 104 | .pipe(filter('*.less')) |
101 | .pipe(less()) | 105 | .pipe(less()) |
@@ -109,6 +113,10 @@ | |||
109 | .pipe(filter('*.js')) | 113 | .pipe(filter('*.js')) |
110 | .pipe(gulp.dest(dir.dist + '/js')); | 114 | .pipe(gulp.dest(dir.dist + '/js')); |
111 | 115 | ||
116 | var resolveLocalLibs = gulp.src(dir.src + '/js/**/*') | ||
117 | .pipe(filter('*.js')) | ||
118 | .pipe(gulp.dest(dir.dist + '/js')); | ||
119 | |||
112 | // Reveal.js is a special snowflake. | 120 | // Reveal.js is a special snowflake. |
113 | var resolveReveal = gulp.src('./bower_components/reveal.js/*/**/*.*', | 121 | var resolveReveal = gulp.src('./bower_components/reveal.js/*/**/*.*', |
114 | {'base': './bower_components/reveal.js/'}) | 122 | {'base': './bower_components/reveal.js/'}) |
@@ -122,8 +130,9 @@ | |||
122 | ])) | 130 | ])) |
123 | .pipe(gulp.dest(dir.dist)); | 131 | .pipe(gulp.dest(dir.dist)); |
124 | 132 | ||
125 | return streamqueue({'objectMode': true}, resolveCSS, resolveLESS, | 133 | return streamqueue({'objectMode': true}, resolveCSS, resolveLocalCSS, |
126 | resolveReveal, resolveLibs, resolveFonts); | 134 | resolveLESS, resolveReveal, |
135 | resolveLibs, resolveLocalLibs, resolveFonts); | ||
127 | }); | 136 | }); |
128 | 137 | ||
129 | /** | 138 | /** |