From 66f56740b7910a74fafbbed3e15162a5ddd85b64 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 26 May 2023 00:19:01 +0800 Subject: [PATCH] chore: node 16 --- packages/plugins/plugin-util/rollup.config.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/plugins/plugin-util/rollup.config.js b/packages/plugins/plugin-util/rollup.config.js index 5192ff23..f25c3ce5 100644 --- a/packages/plugins/plugin-util/rollup.config.js +++ b/packages/plugins/plugin-util/rollup.config.js @@ -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", ], };