depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-lovelace-modules/android-tv-card/dont-call-git.patch
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

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,