Hotwire preload.bundle.js to specific NODE_ENV
This commit is contained in:
parent
163777f751
commit
5c9718f268
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue