Hotwire preload.bundle.js to specific NODE_ENV
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
ef816717fd
commit
f0b23d5abb
|
@ -23,6 +23,9 @@ const nodeDefaults = {
|
|||
|
||||
const bundleDefaults = {
|
||||
...nodeDefaults,
|
||||
define: {
|
||||
'process.env.NODE_ENV': isProd ? '"production"' : '"development"',
|
||||
},
|
||||
bundle: true,
|
||||
external: [
|
||||
'@signalapp/signal-client',
|
||||
|
|
Loading…
Reference in New Issue