From: Anthony Ettinger Date: Tue, 30 Apr 2019 00:17:49 +0000 (-0700) Subject: use wildcards for fuse X-Git-Url: http://these/git/%7B%60/static/assets/css/themes/README.zh.hans.md?a=commitdiff_plain;h=4d25d989cea556cfd9198ec7ba0b1a9974ffd324;p=lemmy.git use wildcards for fuse --- diff --git a/ui/fuse.js b/ui/fuse.js index 2eb3b15c..26ea7da7 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();