12 lines
249 B
TypeScript
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'
|
|
}
|
|
}
|
|
}); |