From a8229bc0cfc87fb82ecc80ed3fe270d21518292b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 20 Aug 2024 02:22:46 +0200 Subject: [PATCH] Build fix --- package.json | 22 +++++++++++----------- tsup.config.ts | 3 ++- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 3609a69..1caed23 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@thilawyn/thilalib", - "version": "0.1.9", + "version": "0.1.10", "type": "module", "files": [ "./dist" @@ -27,16 +27,6 @@ "default": "./dist/Layers/index.cjs" } }, - "./Types": { - "import": { - "types": "./dist/Types/index.d.ts", - "default": "./dist/Types/index.js" - }, - "require": { - "types": "./dist/Types/index.d.cts", - "default": "./dist/Types/index.cjs" - } - }, "./Schema": { "import": { "types": "./dist/Schema/index.d.ts", @@ -56,6 +46,16 @@ "types": "./dist/Schema/MobX/index.d.cts", "default": "./dist/Schema/MobX/index.cjs" } + }, + "./Types": { + "import": { + "types": "./dist/Types/index.d.ts", + "default": "./dist/Types/index.js" + }, + "require": { + "types": "./dist/Types/index.d.cts", + "default": "./dist/Types/index.cjs" + } } }, "scripts": { diff --git a/tsup.config.ts b/tsup.config.ts index e8f8d60..2327cf8 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -4,9 +4,10 @@ import { defineConfig } from "tsup" export default defineConfig({ entry: [ "./src/index.ts", - "./src/Types/index.ts", + "./src/Layers/index.ts", "./src/Schema/index.ts", "./src/Schema/MobX/index.ts", + "./src/Types/index.ts", ], format: ["esm", "cjs"], skipNodeModulesBundle: true,