Files
refocus.dev/packages/ui/vite.config.ts
Morten Olsen bc0d501d98 init
2023-06-16 11:17:09 +02:00

10 lines
232 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
const ASSET_URL = process.env.ASSET_URL || '';
export default defineConfig({
base: ASSET_URL ? `${ASSET_URL}/` : './',
plugins: [react()],
});