Q-Apps-Utils/vite.config.ts

15 lines
315 B
TypeScript
Raw Normal View History

2023-10-11 22:41:55 +00:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";
// https://vitejs.dev/config/
export default defineConfig({
build: {
lib: {
2023-10-17 21:02:10 +00:00
entry: resolve(__dirname, "index.ts"),
2023-10-11 22:41:55 +00:00
name: "QortalUtils",
},
},
plugins: [react()],
base: "",
});