From 17ca417d0db09fa623e3e9c7864300451a776a7a Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Tue, 19 Dec 2023 03:45:20 +0800 Subject: [PATCH] fix: publish include wrong sourcemap (#622) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ba3cc566..4c1f02bf 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*.js", + "dist/**/*.d.ts" ], "scripts": { "build": "rm -rf dist && tsc -p tsconfig.build.json",