use wildcards for fuse

This commit is contained in:
Anthony Ettinger 2019-04-29 17:17:49 -07:00
parent 876d2139e3
commit b90c5cd92e

View 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();