mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 03:16:01 +00:00
DBGATE_TOOLS => DBGATE_PACKAGES
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const { SqlDumper, testEqualColumns, arrayToHexString } = global.DBGATE_TOOLS;
|
||||
const { SqlDumper, testEqualColumns, arrayToHexString } = global.DBGATE_PACKAGES['dbgate-tools'];
|
||||
|
||||
class MsSqlDumper extends SqlDumper {
|
||||
constructor(driver, options) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const { driverBase } = global.DBGATE_TOOLS;
|
||||
const { driverBase } = global.DBGATE_PACKAGES['dbgate-tools'];
|
||||
const MsSqlDumper = require('./MsSqlDumper');
|
||||
const { mssqlSplitterOptions } = require('dbgate-query-splitter/lib/options');
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ var config = {
|
||||
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'global.DBGATE_TOOLS': 'window.DBGATE_TOOLS',
|
||||
'global.DBGATE_PACKAGES': 'window.DBGATE_PACKAGES',
|
||||
}),
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user