Files
bob/packages/playground/vite.config.ts
2023-09-06 13:44:54 +02:00

12 lines
278 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import mdx from '@mdx-js/rollup';
const ASSET_URL = process.env.ASSET_URL || '';
// https://vitejs.dev/config/
export default defineConfig({
base: ASSET_URL,
plugins: [mdx(), react()],
});