vite-templates/vite.config.ts
2024-09-30 18:50:22 -04:00

12 lines
249 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'three': 'https://esm.sh/three@0.169.0'
}
}
});