summarylogtreecommitdiffstats
path: root/node-env-production.patch
blob: 1d2904b4931300c3f5dd6318ceb61db231a02bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/static/index.js
+++ b/static/index.js
@@ -85,6 +85,10 @@
         );
       }
 
+      if (!devMode) {
+        process.env.NODE_ENV = 'production';
+      }
+
       const FileSystemBlobStore = useSnapshot
         ? snapshotResult.customRequire('../src/file-system-blob-store.js')
         : require('../src/file-system-blob-store');