10 lines
300 B
TypeScript
10 lines
300 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
// Relative asset URLs work both on GitHub's /heavy-metal/ path and on a
|
|
// custom domain mounted at the root, without requiring separate builds.
|
|
base: './',
|
|
});
|