From 038913aab42360c1e3453a086ee3f8fc18edb1ea Mon Sep 17 00:00:00 2001 From: Jacob Baker-Kretzmar Date: Tue, 20 Feb 2024 18:30:17 -0500 Subject: [PATCH 1/2] Fix package.json module and exports --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3dea2466..d2cf4090 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ ], "type": "module", "source": "./src/js/index.js", - "exports": "./dist/ziggy.js", - "module": "./dist/ziggy.esm.js", + "exports": "./dist/index.js", + "module": "./dist/index.esm.js", "types": "./src/js/index.d.ts", "scripts": { "build": "npm run build:esm && npm run build:umd", From a0d7ebb1adcc1fedac33a3ee9c25fad8c0bf0558 Mon Sep 17 00:00:00 2001 From: Jacob Baker-Kretzmar Date: Tue, 20 Feb 2024 18:37:35 -0500 Subject: [PATCH 2/2] Exclude test fixtures from typechecking --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9c1c91ea..edd60443 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,5 +3,5 @@ "module": "ESNext", "moduleResolution": "Bundler" }, - "exclude": ["vendor"] + "exclude": ["vendor", "tests/fixtures"] }