mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Support for external tables in GPDB. Fixes #3168
This commit is contained in:
committed by
Dave Page
parent
92a0bb605d
commit
427314cfdf
@@ -146,12 +146,21 @@ module.exports = {
|
||||
presets: ['es2015', 'react'],
|
||||
},
|
||||
},
|
||||
}, {
|
||||
test: /external_table.*\.js/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
presets: ['es2015'],
|
||||
},
|
||||
},
|
||||
}, {
|
||||
// Transforms the code in a way that it works in the webpack environment.
|
||||
// It uses imports-loader internally to load dependency. Its
|
||||
// configuration is specified in webpack.shim.js
|
||||
// Ref: https://www.npmjs.com/package/shim-loader
|
||||
test: /\.js/,
|
||||
exclude: [/external_table/],
|
||||
loader: 'shim-loader',
|
||||
query: webpackShimConfig,
|
||||
include: path.join(__dirname, '/pgadmin/browser'),
|
||||
|
||||
Reference in New Issue
Block a user