From 4a3e000ed99126def502c3a483e614e39b9d42e5 Mon Sep 17 00:00:00 2001 From: Atila Fassina Date: Sat, 5 Oct 2024 18:55:41 +0200 Subject: [PATCH] fix: switch from `/lib` to `/dist` --- package.json | 4 ++-- tsup.config.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a1b9144..ea76501 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,9 @@ "email": "atila@fassina.eu" }, "type": "module", - "main": "./lib/index.js", + "main": "./dist/index.js", "files": [ - "lib/", + "dist/", "package.json", "LICENSE.md", "README.md" diff --git a/tsup.config.ts b/tsup.config.ts index cbecab7..ee3ca84 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -7,6 +7,6 @@ export default defineConfig({ dts: true, entry: ["src/**/*.ts", "!src/**/*.test.*"], format: "esm", - outDir: "lib", + outDir: "dist", sourcemap: true, });