diff --git a/build.mjs b/build.mjs index 760b80a..3c07522 100644 --- a/build.mjs +++ b/build.mjs @@ -3,6 +3,6 @@ import dts from 'bun-plugin-dts' await Bun.build({ entrypoints: ['./src/index.ts'], outdir: './dist', - minify: true, + minify: false, plugins: [dts()] }) \ No newline at end of file diff --git a/package.json b/package.json index 2ba9c57..27d49d3 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,5 @@ "scripts": { "build": "bun run build.mjs", "prepublishOnly": "bun run build" - }, - "type": "module" + } } \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 2194296..93aa311 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ import { Client } from "./client"; +export * from "./domain"; export default Client; \ No newline at end of file