We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ca974 commit d6acce1Copy full SHA for d6acce1
examples/vite.config.ts
@@ -1,15 +1,9 @@
1
import { defineConfig } from 'vite'
2
-import path from 'node:path'
3
import react from '@vitejs/plugin-react'
4
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin'
5
6
// https://vitejs.dev/config/
7
export default defineConfig({
8
- resolve: {
9
- alias: {
10
- '@react-three/xr': path.resolve(__dirname, '../src')
11
- }
12
- },
13
assetsInclude: ['**/*.hdr', '**/*.gltf'],
14
plugins: [react(), vanillaExtractPlugin()]
15
})
0 commit comments