Skip to content

Commit aedfe94

Browse files
committed
mistakes were made
1 parent 9234f46 commit aedfe94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/gatsby-plugin-netlify-cms/src/gatsby-node.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ function replaceRule(value) {
5050
typeof value.loader === `string` &&
5151
value.loader.includes(`style-loader`)
5252
) {
53-
return MiniCssExtractPlugin.loader
53+
return {
54+
...value,
55+
loader: MiniCssExtractPlugin.loader,
56+
}
5457
}
5558

5659
return value

0 commit comments

Comments
 (0)