cli: fix for css being treated as images in build

Reported on Discord: https://discordapp.com/channels/687207715902193673/687235481154617364/755424027236892823
This commit is contained in:
Patrik Oldsberg
2020-09-15 22:08:47 +02:00
parent 3e50f8ab74
commit 1d254175d3
+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(),