mirror of
https://github.com/kognise/water.css.git
synced 2025-08-07 21:56:42 +02:00
Remove postcss import options
This commit is contained in:
@@ -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 })]))
|
||||
|
Reference in New Issue
Block a user