mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(demos): generating polyfills at build time
generating polyfills at build time
This commit is contained in:
@ -2,6 +2,10 @@ import { task } from 'gulp';
|
||||
import { writePolyfills } from '../util';
|
||||
|
||||
|
||||
task('src.polyfill', () => {
|
||||
writePolyfills('scripts/polyfill');
|
||||
task('src.polyfill', (done: Function) => {
|
||||
writePolyfills('scripts/polyfill').then(() => {
|
||||
done();
|
||||
}).catch(err => {
|
||||
done(err);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user