12 lines
333 B
TypeScript
12 lines
333 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: '/frontend/',
|
|
define: {
|
|
'import.meta.env.VITE_APP_VERSION': JSON.stringify(pkg.version),
|
|
},
|
|
plugins: [react(), tailwindcss()],
|
|
})
|