From 65171cbff9240dd3783a3b9a4605d5b0c51fcf1d Mon Sep 17 00:00:00 2001 From: Wlad Meixner Date: Fri, 7 Feb 2025 15:51:39 +0100 Subject: [PATCH] fix: update output folder --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1edd29f..3d3e59e 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { "name": "@foomo/next-proxy-middleware", - "module": "src/index.ts", - "version": "1.0.0", + "module": "dist/index.js", + "version": "1.0.3", "type": "module", "scripts": { "build": "tsc", "publish": "bun run build && bun publish --access public" }, "publishConfig": { + "access": "public", "tag": "next" }, "devDependencies": { @@ -18,9 +19,11 @@ "next": "15" }, "types": "dist/index.d.ts", + "files": ["dist"], "exports": { ".": { - "import": "./src/index.ts", + "import": "./dist/index.js", + "types": "./dist/index.d.ts", "require": "./dist/index.js" } }