Skip to content

Commit a58eaf5

Browse files
committed
chore: update gulpfile
1 parent 25cca73 commit a58eaf5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

antd-tools/gulpfile.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@ const ts = require('gulp-typescript');
2626
const gulp = require('gulp');
2727
const fs = require('fs');
2828
const rimraf = require('rimraf');
29-
const tsConfig = require('./getTSCommonConfig')();
30-
const replaceLib = require('./replaceLib');
3129
const stripCode = require('gulp-strip-code');
3230
const compareVersions = require('compare-versions');
31+
const getTSCommonConfig = require('./getTSCommonConfig');
32+
const replaceLib = require('./replaceLib');
3333

3434
const packageJson = require(getProjectPath('package.json'));
3535
const tsDefaultReporter = ts.reporter.defaultReporter();
3636
const cwd = process.cwd();
3737
const libDir = getProjectPath('lib');
3838
const esDir = getProjectPath('es');
3939

40+
const tsConfig = getTSCommonConfig();
41+
4042
function dist(done) {
4143
rimraf.sync(path.join(cwd, 'dist'));
4244
process.env.RUN_ENV = 'PRODUCTION';

0 commit comments

Comments
 (0)