From 4903381f40f0928a89bec4346c7497ec3ce47575 Mon Sep 17 00:00:00 2001 From: Nicholas Ramkissoon Date: Tue, 4 Apr 2023 18:02:29 -0400 Subject: [PATCH] fix final --- .changeset/few-panthers-pay.md | 5 +++++ .npmignore | 2 +- package.json | 12 ------------ src/index.ts | 1 + 4 files changed, 7 insertions(+), 13 deletions(-) create mode 100644 .changeset/few-panthers-pay.md diff --git a/.changeset/few-panthers-pay.md b/.changeset/few-panthers-pay.md new file mode 100644 index 0000000..b81f070 --- /dev/null +++ b/.changeset/few-panthers-pay.md @@ -0,0 +1,5 @@ +--- +"@uploadjoy/uploader-component-playground": patch +--- + +fix final diff --git a/.npmignore b/.npmignore index f4e9b07..0c961a6 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,6 @@ .changeset/ .github/ -.src/ +src/ tsconfig.json pnpm-lock.yaml diff --git a/package.json b/package.json index 2898d87..126de54 100644 --- a/package.json +++ b/package.json @@ -5,18 +5,6 @@ "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", - "exports": { - ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" - }, - "./react": { - "import": "./dist/react/index.mjs", - "require": "./dist/react/index.js", - "types": "./dist/react/index.d.ts" - } - }, "scripts": { "build": "tsup src/index.ts src/react/index.ts --format cjs,esm --dts", "release": "pnpm run build && changeset publish", diff --git a/src/index.ts b/src/index.ts index baa8524..5af578b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,2 @@ export * from "./next"; +export * from "./react";