mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06: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:
parent
ff79dfc186
commit
e819465e38
@ -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'),
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user