Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from namehash/chore/remove-cjs-support
Browse files Browse the repository at this point in the history
chore: remove cjs build format
  • Loading branch information
FrancoAguzzi authored May 2, 2024
2 parents 6cc7099 + 20e72a9 commit 59a2e44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
"import": {
"node": "./dist/index.js",
"default": "./dist/index.js"
},
"require": {
"node": "./dist/index.cjs",
"default": "./dist/index.cjs"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineConfig({
"safari17",
"node20",
],
format: ["esm", "cjs"],
format: ["esm"],
skipNodeModulesBundle: true,
external: ["node_modules"],
});

0 comments on commit 59a2e44

Please sign in to comment.