From 0225c29dc032a20568bea701e7df3b311b5d66dc Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 26 Nov 2023 08:32:24 +0800 Subject: [PATCH] fix: modify kkt config fix Failed to parse source map. --- .kktrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.kktrc.js b/.kktrc.js index f26668e..5059534 100644 --- a/.kktrc.js +++ b/.kktrc.js @@ -11,7 +11,9 @@ export default (conf, evn, options) => { path.resolve(process.cwd(), 'README.md') ] }); - + conf.ignoreWarnings = [ + { module: /node_modules[\\/]parse5[\\/]/ } + ]; if (evn === 'production') { conf.optimization = { ...conf.optimization,