mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
NPM plugin refactor
This commit is contained in:
@@ -25,14 +25,13 @@
|
||||
"prepublishOnly": "yarn build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"byline": "^5.0.0",
|
||||
"dbgate-plugin-tools": "^1.0.8",
|
||||
"dbgate-tools": "^5.0.0-alpha.1",
|
||||
"json-stable-stringify": "^1.0.1",
|
||||
"webpack": "^5.91.0",
|
||||
"webpack-cli": "^5.1.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@clickhouse/client": "^1.5.0"
|
||||
"@clickhouse/client": "^1.5.0",
|
||||
"dbgate-tools": "^5.0.0-alpha.1",
|
||||
"json-stable-stringify": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,12 @@ var config = {
|
||||
// optimization: {
|
||||
// minimize: false,
|
||||
// },
|
||||
|
||||
externals: {
|
||||
'@clickhouse/client': 'commonjs @clickhouse/client',
|
||||
'json-stable-stringify': 'commonjs json-stable-stringify',
|
||||
'dbgate-tools': 'commonjs dbgate-tools',
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user