mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 02:06:01 +00:00
NPM plugin refactor
This commit is contained in:
@@ -32,10 +32,12 @@
|
||||
"prepublishOnly": "yarn build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"lodash": "^4.17.21",
|
||||
"xlsx": "0.16.9",
|
||||
"dbgate-plugin-tools": "^1.0.7",
|
||||
"webpack": "^5.91.0",
|
||||
"webpack-cli": "^5.1.4"
|
||||
},
|
||||
"dependecies": {
|
||||
"lodash": "^4.17.21",
|
||||
"xlsx": "0.16.9"
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,11 @@ var config = {
|
||||
// optimization: {
|
||||
// minimize: false,
|
||||
// },
|
||||
|
||||
externals: {
|
||||
xlsx: 'commonjs xlsx',
|
||||
lodash: 'commonjs lodash',
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user