feat: implement version bump workflow and display app version on DashboardPage

This commit is contained in:
2026-03-26 17:46:09 -03:00
parent 4649aba1d4
commit a96f892dab
5 changed files with 81 additions and 0 deletions

View File

@@ -1,10 +1,14 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
import packageJson from './package.json'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
define: {
__APP_VERSION__: JSON.stringify(packageJson.version),
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),