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:
@@ -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({
|
||||
},
|
||||
],
|
||||
},
|
||||
})
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user