From b90c5cd92e989bb7b8209394ebc3be7e92b1079f Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 29 Apr 2019 17:17:49 -0700 Subject: [PATCH] use wildcards for fuse --- ui/fuse.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/fuse.js b/ui/fuse.js index 2eb3b15..26ea7da 100644 --- a/ui/fuse.js +++ b/ui/fuse.js @@ -45,8 +45,7 @@ Sparky.task('config', _ => { // Sparky.task('version', _ => setVersion()); Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/')); Sparky.task('env', _ => (isProduction = true)); -Sparky.task('copy-assets', () => Sparky.src('assets/*.svg').dest('dist/')); -Sparky.task('copy-assets', () => Sparky.src('assets/*.png').dest('dist/')); +Sparky.task('copy-assets', () => Sparky.src('assets/*.*').dest('dist/')); Sparky.task('dev', ['clean', 'config', 'copy-assets'], _ => { fuse.dev(); app.hmr().watch();