diff --git a/vite.config.ts b/vite.config.ts index 32ce636..6ec8780 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,10 +7,11 @@ const external = (id: string) => !id.startsWith("\0") && !id.startsWith(".") && !id.startsWith("/"); export default defineConfig({ - plugins: [dts()], + plugins: [dts({ entryRoot: "./src" })], build: { lib: { entry: path.resolve(__dirname, "src/index.ts"), + name: " arg-services", fileName: "index", formats: ["es"], },