aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.d/mode.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.d/mode.js')
-rw-r--r--webpack.config.d/mode.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webpack.config.d/mode.js b/webpack.config.d/mode.js
new file mode 100644
index 00000000..c86e018e
--- /dev/null
+++ b/webpack.config.d/mode.js
@@ -0,0 +1,4 @@
+config.mode = "development"
+if (defined.PRODUCTION) {
+ config.mode = "production"
+}