From 4d25d989cea556cfd9198ec7ba0b1a9974ffd324 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 2eb3b15c8..26ea7da75 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();