mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Fix explain plan and geometry viewer issue. It's a regression of SonarQube fixes. Fixes #6239
This commit is contained in:
parent
2570f7d75c
commit
32197a8405
@ -6,9 +6,10 @@
|
|||||||
// This software is released under the PostgreSQL Licence
|
// This software is released under the PostgreSQL Licence
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
/* This is used to change publicPath of webpack at runtime for loading chunks */
|
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
let __webpack_public_path__ = window.resourceBasePath;
|
/* This is used to change publicPath of webpack at runtime for loading chunks */
|
||||||
|
/* Do not add let, var, const to this variable */
|
||||||
|
__webpack_public_path__ = window.resourceBasePath;
|
||||||
/* eslint-enable */
|
/* eslint-enable */
|
||||||
|
|
||||||
import {launchDataGrid} from 'tools/datagrid/static/js/show_query_tool';
|
import {launchDataGrid} from 'tools/datagrid/static/js/show_query_tool';
|
||||||
|
@ -47,6 +47,8 @@ const providePlugin = new webpack.ProvidePlugin({
|
|||||||
pgAdmin: 'pgadmin',
|
pgAdmin: 'pgadmin',
|
||||||
'moment': 'moment',
|
'moment': 'moment',
|
||||||
'window.moment':'moment',
|
'window.moment':'moment',
|
||||||
|
process: 'process/browser',
|
||||||
|
Buffer: ['buffer', 'Buffer'],
|
||||||
});
|
});
|
||||||
|
|
||||||
// Helps in debugging each single file, it extracts the module files
|
// Helps in debugging each single file, it extracts the module files
|
||||||
@ -534,11 +536,6 @@ module.exports = [{
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}, {
|
|
||||||
test: require.resolve('snapsvg'),
|
|
||||||
use: {
|
|
||||||
loader: 'imports-loader?this=>window,fix=>module.exports=0',
|
|
||||||
},
|
|
||||||
}].concat(themeCssRules('standard')),
|
}].concat(themeCssRules('standard')),
|
||||||
// Prevent module from parsing through webpack, helps in reducing build time
|
// Prevent module from parsing through webpack, helps in reducing build time
|
||||||
noParse: [/moment.js/],
|
noParse: [/moment.js/],
|
||||||
|
Loading…
Reference in New Issue
Block a user