chore: node 16

This commit is contained in:
xiaojunnuo
2023-05-26 00:10:34 +08:00
parent 60921d9adf
commit 5bd042d9bc
9 changed files with 31 additions and 20 deletions
+11 -1
View File
@@ -14,7 +14,13 @@ module.exports = {
// 解析第三方依赖
resolve(),
// 识别 commonjs 模式第三方依赖
commonjs(),
commonjs({
dynamicRequireRoot: "../../../",
dynamicRequireTargets: [
// include using a glob pattern (either a string or an array of strings)
"node_modules/shelljs/src/*",
],
}),
Typescript({
target: "esnext",
rootDir: "src",
@@ -39,5 +45,9 @@ module.exports = {
"@certd/plugin-host",
"@certd/plugin-tencent",
"@certd/plugin-util",
"log4js",
"@midwayjs/core",
"@midwayjs/decorator",
// "kubernetes-client",
],
};