From d58953136b29042513034d60dbe65464a23b9cb6 Mon Sep 17 00:00:00 2001 From: Felix Date: Sat, 30 May 2020 17:58:04 -0500 Subject: [PATCH] Remove postcss import options --- gulpfile.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 61a59c0..c6032f5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -52,9 +52,6 @@ const formatByteMessage = (source, data) => { } const style = () => { - // Don't inline minified versions, so builds can lazily import them at runtime - const cssImportOptions = { filter: (path) => !/\.min/.test(path) } - const startDiff = () => bytediff.start() const endDiff = (source) => bytediff.stop((data) => formatByteMessage(source, data)) @@ -62,7 +59,7 @@ const style = () => { gulp .src(paths.styles.src) .pipe(sourcemaps.init()) - .pipe(postcss([postcssImport(cssImportOptions), postcssColorModFunction(), postcssInlineSvg()])) + .pipe(postcss([postcssImport(), postcssColorModFunction(), postcssInlineSvg()])) .pipe(startDiff()) .pipe(postcss([postcssCssVariables({ preserve: true })]))