alias three

This commit is contained in:
Seth Trowbridge 2024-09-30 18:50:22 -04:00
parent e2a6c7327f
commit 95e72342d1

View File

@ -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'
}
}
});