mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(demos): copy over all demo assets
copy over all demo assets
This commit is contained in:
@ -74,7 +74,10 @@ function copyDemoPolyfills(outputDir: string) {
|
||||
|
||||
function copyDemoContent(outputDir: string) {
|
||||
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', () => {
|
||||
resolve();
|
||||
});
|
||||
|
Reference in New Issue
Block a user