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