]> Untitled Git - lemmy.git/commitdiff
use wildcards for fuse
authorAnthony Ettinger <anthony@chovy.com>
Tue, 30 Apr 2019 00:17:49 +0000 (17:17 -0700)
committerAnthony Ettinger <anthony@chovy.com>
Tue, 30 Apr 2019 00:17:49 +0000 (17:17 -0700)
ui/fuse.js

index 2eb3b15c84f23d9d9644f868a3d6988b6d8ff21a..26ea7da753d9465176f5bafbbda698fc52716578 100644 (file)
@@ -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();