mirror of https://github.com/certd/certd
chore: node 16
parent
5bd042d9bc
commit
66f56740b7
|
@ -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",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue