aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/plugins/create-rules-webpack-plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/plugins/create-rules-webpack-plugin.js')
-rw-r--r--config/webpack/plugins/create-rules-webpack-plugin.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/webpack/plugins/create-rules-webpack-plugin.js b/config/webpack/plugins/create-rules-webpack-plugin.js
index 0dd05d7..6e31196 100644
--- a/config/webpack/plugins/create-rules-webpack-plugin.js
+++ b/config/webpack/plugins/create-rules-webpack-plugin.js
@@ -31,7 +31,15 @@ class CreateRulesPlugin {
compilation.emitAsset(
"rules.json",
- new sources.RawSource(JSON.stringify(rules, undefined, process.env.NODE_ENV === "production" ? undefined : "\t"))
+ new sources.RawSource(
+ JSON.stringify(
+ rules,
+ undefined,
+ process.env.NODE_ENV === "production"
+ ? undefined
+ : "\t"
+ )
+ )
);
}
);