chore: node 16

pull/21/merge
xiaojunnuo 2023-05-26 00:19:01 +08:00
parent 5bd042d9bc
commit 66f56740b7
1 changed files with 6 additions and 6 deletions

View File

@ -15,11 +15,11 @@ module.exports = {
resolve(), resolve(),
// 识别 commonjs 模式第三方依赖 // 识别 commonjs 模式第三方依赖
commonjs({ commonjs({
dynamicRequireRoot: "../../../", // dynamicRequireRoot: "../../../../",
dynamicRequireTargets: [ // dynamicRequireTargets: [
// include using a glob pattern (either a string or an array of strings) // // include using a glob pattern (either a string or an array of strings)
"node_modules/shelljs/src/*", // "../../../../**/shelljs/src/*",
], // ],
}), }),
Typescript({ Typescript({
target: "esnext", target: "esnext",
@ -48,6 +48,6 @@ module.exports = {
"log4js", "log4js",
"@midwayjs/core", "@midwayjs/core",
"@midwayjs/decorator", "@midwayjs/decorator",
// "kubernetes-client", "kubernetes-client",
], ],
}; };