UNPKG

create-three-demo

Version:

Unofficial Vite + Three.js template with convenience helpers and examples

19 lines (17 loc) 361 B
import { defineConfig } from "vite"; import glsl from "vite-plugin-glsl"; export default defineConfig({ plugins: [glsl()], publicDir: "static/", server: { port: 3000, host: true, open: true, }, build: { outDir: "dist", emptyOutDir: true, sourcemap: true, target: "exnext", }, });