UNPKG

threed-ai

Version:

'threed-ai' supporting Vite, Next, Nuxt, as a functioning, low-dependency app, a package supporting monorepos of workspaces that utilize 'ThreeJS, WebGL, React, TypeScript <r3Fiber>, GraphQL'.

26 lines (22 loc) 468 B
import { defineConfig } from "vite" import react from "@vitejs/plugin-react" const path = require('path') // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], build: { outDir: "build" }, server: { strictPort: true, hmr: { port: 443 // Run the websocket server on the SSL port } }, resolve: { alias: { '~': path.resolve(__dirname, 'src'), '@': path.resolve(__dirname, 'src') }, } })