chore(demos): copy over all demo assets

copy over all demo assets
This commit is contained in:
Dan Bucholtz
2016-09-27 16:16:08 -05:00
parent a9ee835130
commit 9bfabfc289

View File

@ -74,7 +74,10 @@ function copyDemoPolyfills(outputDir: string) {
function copyDemoContent(outputDir: string) { function copyDemoContent(outputDir: string) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const stream = src([`${DEMOS_ROOT}/src/**/index.html`, `${DEMOS_ROOT}/src/**/main.bundle.js`, `${DEMOS_ROOT}/src/scrollbar-fix.*`]).pipe(dest(outputDir)); const stream = src([
`${DEMOS_ROOT}/src/**/*`,
`${DEMOS_ROOT}/src/scrollbar-fix.*`
]).pipe(dest(outputDir));
stream.on('end', () => { stream.on('end', () => {
resolve(); resolve();
}); });