vite-templates/vite.config.ts

12 lines
249 B
TypeScript
Raw Normal View History

2024-09-30 09:25:00 -04:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
2024-09-30 18:50:22 -04:00
resolve: {
alias: {
'three': 'https://esm.sh/three@0.169.0'
}
}
});