From a58eaf5ea181cc31362e06b03efa1c6bc68b47ae Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 25 Aug 2021 23:07:11 +0800 Subject: [PATCH] chore: update gulpfile --- antd-tools/gulpfile.js | 6 ++++-- v2-doc | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/antd-tools/gulpfile.js b/antd-tools/gulpfile.js index 4c6125ffa..041d323d0 100644 --- a/antd-tools/gulpfile.js +++ b/antd-tools/gulpfile.js @@ -26,10 +26,10 @@ const ts = require('gulp-typescript'); const gulp = require('gulp'); const fs = require('fs'); const rimraf = require('rimraf'); -const tsConfig = require('./getTSCommonConfig')(); -const replaceLib = require('./replaceLib'); const stripCode = require('gulp-strip-code'); const compareVersions = require('compare-versions'); +const getTSCommonConfig = require('./getTSCommonConfig'); +const replaceLib = require('./replaceLib'); const packageJson = require(getProjectPath('package.json')); const tsDefaultReporter = ts.reporter.defaultReporter(); @@ -37,6 +37,8 @@ const cwd = process.cwd(); const libDir = getProjectPath('lib'); const esDir = getProjectPath('es'); +const tsConfig = getTSCommonConfig(); + function dist(done) { rimraf.sync(path.join(cwd, 'dist')); process.env.RUN_ENV = 'PRODUCTION'; diff --git a/v2-doc b/v2-doc index 72a50fb96..e7db31900 160000 --- a/v2-doc +++ b/v2-doc @@ -1 +1 @@ -Subproject commit 72a50fb9620defe257ea3f0f3256ed678df98b05 +Subproject commit e7db31900631a7da14f40b7f2ab0e3f266a26e00