Skip to content

Commit 639b121

Browse files
committed
also compile and bundle vendor CSS [skip ci]
1 parent ea660dc commit 639b121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulp.d/tasks/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module.exports = (src, dest, preview) => () => {
9696
// NOTE use this statement to bundle a JavaScript library that cannot be browserified, like jQuery
9797
//vfs.src(require.resolve('<package-name-or-require-path>'), opts).pipe(concat('js/vendor/<library-name>.js')),
9898
vfs
99-
.src('css/site.css', { ...opts, sourcemaps })
99+
.src(['css/site.css', 'css/vendor/*.css'], { ...opts, sourcemaps })
100100
.pipe(postcss((file) => ({ plugins: postcssPlugins, options: { file } }))),
101101
vfs.src('font/*.{ttf,woff*(2)}', opts),
102102
vfs

0 commit comments

Comments
 (0)