mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Hotwire preload.bundle.js to specific NODE_ENV
This commit is contained in:
@@ -23,6 +23,9 @@ const nodeDefaults = {
|
||||
|
||||
const bundleDefaults = {
|
||||
...nodeDefaults,
|
||||
define: {
|
||||
'process.env.NODE_ENV': isProd ? '"production"' : '"development"',
|
||||
},
|
||||
bundle: true,
|
||||
external: [
|
||||
'@signalapp/signal-client',
|
||||
|
||||
Reference in New Issue
Block a user