Merge pull request #2479 from spotify/Rugvip-patch-1

cli: fix for css being treated as images in build
This commit is contained in:
Patrik Oldsberg
2020-09-17 09:22:05 +02:00
committed by GitHub
+1 -8
View File
@@ -94,14 +94,7 @@ export const makeConfigs = async (
postcss(),
imageFiles({
exclude: /\.icon\.svg$/,
include: [
/\.css$/,
/\.svg$/,
/\.png$/,
/\.gif$/,
/\.jpg$/,
/\.jpeg$/,
],
include: [/\.svg$/, /\.png$/, /\.gif$/, /\.jpg$/, /\.jpeg$/],
}),
json(),
yaml(),