Hotwire preload.bundle.js to specific NODE_ENV

This commit is contained in:
Fedor Indutny
2022-02-25 12:36:42 -08:00
committed by GitHub
parent 163777f751
commit 5c9718f268

View File

@@ -23,6 +23,9 @@ const nodeDefaults = {
const bundleDefaults = {
...nodeDefaults,
define: {
'process.env.NODE_ENV': isProd ? '"production"' : '"development"',
},
bundle: true,
external: [
'@signalapp/signal-client',