diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..ef69d8e --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + lib: { + entry: "src/index.tsx", + formats: ["es"] + } + } +}); \ No newline at end of file