From fa8d423bc6b51236f19cc28d963d94f2b2989e5d Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:15:13 +0200 Subject: [PATCH] Fix some development code not getting optimised out (#2605) --- src/index.ejs | 3 ++- src/renderer/App.js | 6 +----- .../external-player-settings.js | 4 ---- .../components/general-settings/general-settings.js | 3 --- .../watch-video-comments/watch-video-comments.js | 4 ---- src/renderer/store/modules/invidious.js | 4 ++-- src/renderer/store/modules/settings.js | 1 - src/renderer/store/modules/utils.js | 4 ++-- src/renderer/views/Watch/Watch.js | 11 +++++------ 9 files changed, 12 insertions(+), 28 deletions(-) diff --git a/src/index.ejs b/src/index.ejs index e1f4040e..ef68da4c 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -18,15 +18,16 @@
+ <% if (process.env.NODE_ENV !== 'development') { %> + <% } %>