mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-13 16:41:59 -05:00
Always pack React in prod mode to avoid a bug in debug mode that prevents the history tab working.
This commit is contained in:
1 parent
ff79dfc186
commit
e819465e38
1 file changed
+1
-1
@@ -74,7 +74,7 @@ const optimizeAssetsPlugin = new OptimizeCssAssetsPlugin({
|
||||
// based on 'NODE_ENV' variable. [used only in production]
|
||||
const definePlugin = new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
'NODE_ENV': JSON.stringify(envType),
|
||||
'NODE_ENV': JSON.stringify('production'),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user