Skip to content

Commit

Permalink
Use main file (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Nov 10, 2023
1 parent b04a365 commit 4958fcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,8 @@
"provenance": true
},
"type": "module",
"exports": {
"./*.js": {
"types": "./dist/*.d.ts",
"default": "./dist/*.js"
},
"./*": {
"types": "./dist/*.d.ts",
"default": "./dist/*.js"
}
},
"main": "dist/main.js",
"types": "dist/main.d.ts",
"scripts": {
"build": "npm run build:tsc && npm run build:esbuild",
"build:esbuild": "esbuild --minify --format=esm --sourcemap --outdir=dist 'src/*.ts'",
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./unique.js";

0 comments on commit 4958fcd

Please sign in to comment.