From c38cc760aac65f521b7b87e25aa53d2bf9849b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malcolm=20Nihl=C3=A9n?= Date: Sat, 2 Nov 2024 12:24:14 +0100 Subject: [PATCH] fix: add oldschool main and module exports --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 079f3b4..9c14364 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,10 @@ }, "./package.json": "./package.json" }, - "files": [ - "dist" - ], + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", + "files": ["./dist"], "scripts": { "dev": "vite", "build": "tsup",