diff --git a/vite.config.ts b/vite.config.ts index 5e91af3..2c180ef 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,7 +10,7 @@ export default defineConfig({ sourcemap: true, lib: { entry: resolve(__dirname, "src/index.ts"), - name: "index", + fileName: "index", formats: ["es"], }, rollupOptions: {