Reshape onboarding v1.3 (#185)

* Initialize Onboarding Flow

* Shorten Onboarding

* Add Setup circle  and what are the current way to add tasks to the onboarding.
update donetick logo

* improve wording

* Skip onboarding flow for now

* Enable onboarding flow
This commit is contained in:
Mohamad Tarbin
2026-08-02 20:53:28 -04:00
committed by GitHub
parent 46fb2d5475
commit d641710a41
17 changed files with 3255 additions and 1193 deletions

View File

@@ -3,10 +3,15 @@ import { defineConfig } from 'vite'
import { VitePWA } from 'vite-plugin-pwa'
import pkg from './package.json'
// https://vitejs.dev/config/
export default defineConfig({
export default defineConfig(({ command }) => ({
define: {
'import.meta.env.VITE_APP_VERSION': JSON.stringify(pkg.version),
},
// Strip console.* / debugger from production bundles only, so dev logging
// is untouched. `command` is 'build' for `vite build`, 'serve' for the dev server.
esbuild: {
drop: command === 'build' ? ['console', 'debugger'] : [],
},
plugins: [
react(),
VitePWA({
@@ -84,4 +89,4 @@ export default defineConfig({
},
],
},
})
}))