mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
chore(): begin adding ionic components to mono-repo.
This commit is contained in:
18
packages/ionic-angular/scripts/gulp/tasks/clean.ts
Normal file
18
packages/ionic-angular/scripts/gulp/tasks/clean.ts
Normal file
@ -0,0 +1,18 @@
|
||||
import * as del from 'del';
|
||||
import { task } from 'gulp';
|
||||
|
||||
task('clean', (done: Function) => {
|
||||
del(['dist/**']).then(() => {
|
||||
done();
|
||||
}).catch(err => {
|
||||
done(err);
|
||||
});
|
||||
});
|
||||
|
||||
task('clean.src', (done: Function) => {
|
||||
del(['src/**/*.js', 'src/**/*.d.ts']).then(() => {
|
||||
done();
|
||||
}).catch(err => {
|
||||
done(err);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user