Commit 15a47543 authored by Dan Allen's avatar Dan Allen

conditionally enable sourcemaps for CSS

parent 8c150a4a
......@@ -67,7 +67,7 @@ module.exports = (src, dest, preview) => () => {
vfs.src('css/site.css', { ...opts, sourcemaps: true }).pipe(postcss(postcssPlugins)),
vfs.src('css/site.css', { ...opts, sourcemaps }).pipe(postcss(postcssPlugins)),
vfs.src('font/*.{ttf,woff*(2)}', opts),
.src('img/**/*.{jpg,ico,png,svg}', opts)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment