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