From 3ff4f6b92697d67bdc7fc2be9ac8cd57b07b59cb Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 24 Dec 2021 14:46:05 +0800 Subject: [PATCH] fix: web-type.json lose, close #4860 --- antd-tools/generator-types/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antd-tools/generator-types/index.js b/antd-tools/generator-types/index.js index d36eb20870..2bf8accfc0 100644 --- a/antd-tools/generator-types/index.js +++ b/antd-tools/generator-types/index.js @@ -7,7 +7,7 @@ try { parseAndWrite({ version: pkg.version, name: 'types', - path: path.resolve(rootPath, './v2-doc/src/docs'), + path: path.resolve(rootPath, './components'), // default match lang test: /en-US\.md/, outputDir: path.resolve(rootPath, './vetur'),