зеркало из https://github.com/microsoft/reactxp.git
import ReSub Options from resub not from 'dist/resub/options'. Fix gulp 'clean' task (#818)
This commit is contained in:
Родитель
1beef1a980
Коммит
f859c59792
|
@ -402,16 +402,8 @@ gulp.task('watch', function() {
|
|||
}
|
||||
});
|
||||
|
||||
gulp.task('clean', function(callback) {
|
||||
del(config.clean.temp, { force: true }, function() {
|
||||
if (platform === PLATFORMS.WEB) {
|
||||
del(config.clean.web, { force: true }, callback);
|
||||
} else if (platform === PLATFORMS.TESTS) {
|
||||
del(config.clean.tests, { force: true }, callback);
|
||||
} else {
|
||||
del(config.clean.rnApp, { force: true }, callback);
|
||||
}
|
||||
});
|
||||
gulp.task('clean', function() {
|
||||
return del(_.flatten([config.clean.temp, config.clean[platform] || config.clean.rnApp]), { force: true });
|
||||
});
|
||||
|
||||
gulp.task('ts-lint', function() {
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
|
||||
import * as assert from 'assert';
|
||||
import ReSubOptions from 'resub/dist/Options';
|
||||
import * as SyncTasks from 'synctasks';
|
||||
import { Options as ReSubOptions } from 'resub';
|
||||
|
||||
import ExceptionReporter from './ExceptionReporter';
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче