diff --git a/ui/.gitignore b/ui/.gitignore index 1e420dc4938..cc0ab540cf6 100644 --- a/ui/.gitignore +++ b/ui/.gitignore @@ -1,4 +1,3 @@ -src/version.ts dist .fusebox _site diff --git a/ui/fuse.js b/ui/fuse.js index c70edfb849c..fe2c7664c3d 100644 --- a/ui/fuse.js +++ b/ui/fuse.js @@ -46,12 +46,12 @@ 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('dev', ['clean', 'config', 'copy-assets', 'version'], _ => { +Sparky.task('dev', ['clean', 'config', 'copy-assets'], _ => { fuse.dev(); app.hmr().watch(); return fuse.run(); }); -Sparky.task('prod', ['clean', 'env', 'config', 'copy-assets', 'version'], _ => { +Sparky.task('prod', ['clean', 'env', 'config', 'copy-assets'], _ => { // fuse.dev({ reload: true }); // remove after demo return fuse.run(); }); diff --git a/ui/src/version.ts b/ui/src/version.ts new file mode 100644 index 00000000000..3f710072faf --- /dev/null +++ b/ui/src/version.ts @@ -0,0 +1 @@ +export let version: string = "v0.0.2-0-gdae6651"; \ No newline at end of file