diff options
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | src/shapex.ts | 2 | ||||
| -rw-r--r-- | tsup.config.ts | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/package.json b/package.json index c1a2585..499712f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shapex", - "version": "1.0.6", + "version": "1.0.7", "description": "A scalable event-driven application framework.", "main": "dist/shapex.cjs", "module": "dist/shapex.js", diff --git a/src/shapex.ts b/src/shapex.ts index 1118fb5..80a6b11 100644 --- a/src/shapex.ts +++ b/src/shapex.ts @@ -1,5 +1,3 @@ -export type EventDispatcher = (eventName: string, ...args: unknown[]) => void; - type SubscriptionResponseDispatch = { eventName: string; args?: unknown[]; diff --git a/tsup.config.ts b/tsup.config.ts index 74dcfd7..496d305 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -3,8 +3,7 @@ import { defineConfig } from "tsup"; export default defineConfig({ entry: ["src/shapex.ts"], clean: true, - format: ["esm", "cjs"], + format: ["esm"], dts: true, - treeshake: "smallest", sourcemap: true, }); |
