use wildcards for fuse
This commit is contained in:
parent
876d2139e3
commit
b90c5cd92e
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue