Skip to content

Commit

Permalink
fix: resolve import issues for node.js usage (#4)
Browse files Browse the repository at this point in the history
* fix: resolve build script issues

* chore(publish): bump package version to v1.1.1
  • Loading branch information
fabio-nettis authored Jan 24, 2024
1 parent 0fae7d6 commit ead8289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"private": false,
"description": "A tiny and highly customizable event bus supporting different dispatching strategies.",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down
5 changes: 3 additions & 2 deletions scripts/build.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import dts from "bun-plugin-dts";

await Bun.build({
entrypoints: ["./index.ts"],
outdir: "./dist",
minify: true,
outdir: "./dist",
plugins: [dts()],
entrypoints: ["./index.ts"],
naming: { entry: "[name].mjs" },
});

0 comments on commit ead8289

Please sign in to comment.