use wildcards for fuse
This commit is contained in:
parent
7d1146c048
commit
4d25d989ce
1 changed files with 1 additions and 2 deletions
|
@ -45,8 +45,7 @@ Sparky.task('config', _ => {
|
||||||
// Sparky.task('version', _ => setVersion());
|
// Sparky.task('version', _ => setVersion());
|
||||||
Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/'));
|
Sparky.task('clean', _ => Sparky.src('dist/').clean('dist/'));
|
||||||
Sparky.task('env', _ => (isProduction = true));
|
Sparky.task('env', _ => (isProduction = true));
|
||||||
Sparky.task('copy-assets', () => Sparky.src('assets/*.svg').dest('dist/'));
|
Sparky.task('copy-assets', () => Sparky.src('assets/*.*').dest('dist/'));
|
||||||
Sparky.task('copy-assets', () => Sparky.src('assets/*.png').dest('dist/'));
|
|
||||||
Sparky.task('dev', ['clean', 'config', 'copy-assets'], _ => {
|
Sparky.task('dev', ['clean', 'config', 'copy-assets'], _ => {
|
||||||
fuse.dev();
|
fuse.dev();
|
||||||
app.hmr().watch();
|
app.hmr().watch();
|
||||||
|
|
Loading…
Reference in a new issue