mirror of https://github.com/Qortal/Q-Apps-Utils
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
380 B
16 lines
380 B
import { defineConfig } from "vite"; |
|
import react from "@vitejs/plugin-react"; |
|
import { resolve } from "path"; |
|
import dts from "vite-plugin-dts"; |
|
|
|
// https://vitejs.dev/config/ |
|
export default defineConfig({ |
|
optimizeDeps: { include: ["src"] }, |
|
build: { |
|
lib: { |
|
entry: resolve(__dirname, "index.ts"), |
|
formats: ["es"], |
|
}, |
|
}, |
|
plugins: [react(), dts()], |
|
});
|
|
|