chore(demos): generating polyfills at build time

generating polyfills at build time
This commit is contained in:
Dan Bucholtz
2016-09-20 11:25:09 -05:00
parent ace4c1c1dc
commit 0b914ae654
13 changed files with 119 additions and 123 deletions

View File

@ -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);
});
});