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');