Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
475 Bytes
import path from 'path'
import { defineConfig } from 'vite'
import reactRefresh from '@vitejs/plugin-react-refresh'
export default defineConfig({
resolve: {
alias: {
'@react-spring/web': path.resolve(__dirname, '../targets/web'),
'@react-spring/parallax': path.resolve(__dirname, '../packages/parallax'),
'@react-spring/three': path.resolve(__dirname, '../targets/three'),
},
},
server: {
port: 4000,
},
plugins: [reactRefresh()],
})