From 089251118f42e50a969773ace180467fe828d7e6 Mon Sep 17 00:00:00 2001 From: Joel Carter Date: Wed, 13 Mar 2024 07:21:36 -0500 Subject: [PATCH] Working build --- .vscode/settings.json | 2 +- package.json | 33 ++++++++++++--------------------- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f335606..eb82122 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,7 @@ "**/.DS_Store": true, "**/node_modules": false, "**/build": true, - "**/dist": true, + "**/dist": false, "**/.webpack": true, "**/.serverless": true, "**/.rollup.cache": true diff --git a/package.json b/package.json index b0bc5d5..3c2158b 100644 --- a/package.json +++ b/package.json @@ -57,31 +57,22 @@ "types": "dist/index.d.ts", "exports": { ".": { - "require": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "import": { - "types": "./dist/index.d.mts", - "default": "./dist/index.mjs" + "node": { + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + }, + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } } }, - "./dist/docs.json": { - "default": "./dist/docs.json" - }, - "./cjs": { - "default": "./dist/index.js" - }, - "./docs": { - "default": "./dist/docs.json" - }, - "./esm": { - "default": "./dist/index.mjs" - }, - "./package.json": "./package.json" + "./package.json": "./package.json", + "./README.md": "./README.md" }, "main": "dist/index.js", - "module": "dist/index.mjs", + "module": "dist/index.js", "homepage": "https://xylabs.com", "keywords": [ "xylabs",