Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
17 lines
425 B
Diff
17 lines
425 B
Diff
diff --git a/webpack.config.js b/webpack.config.js
|
|
index 469ffe1..3233c4b 100644
|
|
--- a/webpack.config.js
|
|
+++ b/webpack.config.js
|
|
@@ -1,11 +1,7 @@
|
|
const path = require('path');
|
|
const { execSync } = require('child_process');
|
|
|
|
-let env =
|
|
- execSync('git branch --show-current').toString().trim() == 'main'
|
|
- ? 'production'
|
|
- : 'development';
|
|
-env = 'production';
|
|
+let env = 'production';
|
|
|
|
module.exports = {
|
|
mode: env,
|