mirror of
https://github.com/morten-olsen/refocus.dev.git
synced 2026-02-08 00:46:25 +01:00
10 lines
232 B
TypeScript
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()],
|
|
});
|