Com o domínio task.beetech.dev servindo o frontend na raiz, o base '/frontend/' gerava referencias quebradas nos assets. Muda para '/'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
12 lines
324 B
TypeScript
12 lines
324 B
TypeScript
import tailwindcss from '@tailwindcss/vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { defineConfig } from 'vite'
|
|
import pkg from './package.json'
|
|
|
|
export default defineConfig({
|
|
base: '/',
|
|
define: {
|
|
'import.meta.env.VITE_APP_VERSION': JSON.stringify(pkg.version),
|
|
},
|
|
plugins: [react(), tailwindcss()],
|
|
})
|