Skip to content

Commit 3d4386a

Browse files
committed
fix(gulp): donfix(gulp): don't process Google Fonts imports during CSS minification
1 parent 801185e commit 3d4386a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/templates/gulpfile.babel(gulp).js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ gulp.task('build:client', ['transpile:client', 'styles', 'html'], () => {
389389
.pipe(plugins.uglify())
390390
.pipe(jsFilter.restore())
391391
.pipe(cssFilter)
392-
.pipe(plugins.minifyCss({cache: true}))
392+
.pipe(plugins.minifyCss({cache: true, , processImportFrom: ['!fonts.googleapis.com']}}))
393393
.pipe(cssFilter.restore())
394394
.pipe(plugins.rev())
395395
.pipe(assets.restore())

0 commit comments

Comments
 (0)