mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 01:33:59 +00:00
This commit is contained in:
@@ -12,7 +12,7 @@ if (argument && argument.endsWith('Process')) {
|
|||||||
|
|
||||||
const module = proc[argument];
|
const module = proc[argument];
|
||||||
module.start();
|
module.start();
|
||||||
} else if (!module['parent']) {
|
} else if (!module['parent'] && !process.argv.includes('--checkParent')) {
|
||||||
const main = require('./main');
|
const main = require('./main');
|
||||||
|
|
||||||
main.start(argument);
|
main.start(argument);
|
||||||
|
|||||||
@@ -11,10 +11,11 @@ var config = {
|
|||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
filename: 'bundle.js',
|
filename: 'bundle.js',
|
||||||
|
libraryTarget: 'commonjs2',
|
||||||
},
|
},
|
||||||
|
|
||||||
optimization: {
|
optimization: {
|
||||||
minimize: false
|
minimize: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
// module: {
|
// module: {
|
||||||
|
|||||||
Reference in New Issue
Block a user