diff --git a/vite.config.ts b/vite.config.ts index 861b04b..a61d3f5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,4 +4,9 @@ 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' + } + } +}); \ No newline at end of file