alias three
This commit is contained in:
parent
e2a6c7327f
commit
95e72342d1
@ -4,4 +4,9 @@ import react from '@vitejs/plugin-react-swc'
|
|||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
})
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'three': 'https://esm.sh/three@0.169.0'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user