From 68cce77d230dce9ed6c79f28424437ae5f6d3d3f Mon Sep 17 00:00:00 2001 From: SheetJS Date: Sun, 20 Aug 2023 21:01:07 -0400 Subject: [PATCH] package.json exports (fixes #2977 h/t @stof) --- package.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/package.json b/package.json index 7d6f63e..644072f 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,36 @@ "require": "./xlsx.js", "types": "./types/index.d.ts" }, + "./dist/xlsx.core.min": { + "import": "./dist/xlsx.core.min.js", + "require": "./dist/xlsx.core.min.js", + "types": "./types/index.d.ts" + }, + "./dist/xlsx.core.min.js": { + "import": "./dist/xlsx.core.min.js", + "require": "./dist/xlsx.core.min.js", + "types": "./types/index.d.ts" + }, + "./dist/xlsx.full.min": { + "import": "./dist/xlsx.full.min.js", + "require": "./dist/xlsx.full.min.js", + "types": "./types/index.d.ts" + }, + "./dist/xlsx.full.min.js": { + "import": "./dist/xlsx.full.min.js", + "require": "./dist/xlsx.full.min.js", + "types": "./types/index.d.ts" + }, + "./dist/xlsx.mini.min": { + "import": "./dist/xlsx.mini.min.js", + "require": "./dist/xlsx.mini.min.js", + "types": "./types/index.d.ts" + }, + "./dist/xlsx.mini.min.js": { + "import": "./dist/xlsx.mini.min.js", + "require": "./dist/xlsx.mini.min.js", + "types": "./types/index.d.ts" + }, "./dist/xlsx.zahl": { "import": "./dist/xlsx.zahl.mjs", "require": "./dist/xlsx.zahl.js",