chore: update gulpfile

pull/4586/head
tangjinzhou 3 years ago
parent 25cca73a31
commit a58eaf5ea1

@ -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';

@ -1 +1 @@
Subproject commit 72a50fb9620defe257ea3f0f3256ed678df98b05
Subproject commit e7db31900631a7da14f40b7f2ab0e3f266a26e00
Loading…
Cancel
Save