Use vite-plugin-dts

This commit is contained in:
Dylan Hu
2025-05-28 11:11:13 -07:00
committed by Diego Marcos
parent ed97485144
commit 72bfeba345
55 changed files with 11262 additions and 7969 deletions
+3
View File
@@ -1,6 +1,7 @@
import fs from "node:fs";
import path from "node:path";
import { defineConfig } from "vite";
import dts from "vite-plugin-dts";
import glsl from "vite-plugin-glsl";
const assetsDirectory = "examples/assets";
@@ -30,6 +31,8 @@ export default defineConfig(({ mode }) => {
include: ["**/*.glsl"],
}),
dts({ outDir: "dist/types" }),
{
name: "serve-three-alias",
configureServer(server) {