9 lines
267 B
TypeScript
9 lines
267 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig(({ command }) => ({
|
|
plugins: [react(), tailwindcss()],
|
|
base: command === 'build' ? '/krishna_sales/' : '/',
|
|
}));
|