Skip to content

Commit

Permalink
build: add module type and exports
Browse files Browse the repository at this point in the history
  • Loading branch information
bingtsingw committed Jun 19, 2023
1 parent ce61726 commit c51eb30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"name": "@bingtsingw-c/xstools",
"version": "0.1.0",
"type": "module",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"scripts": {
"build": "tsup",
"clean": "rimraf dist",
Expand Down

0 comments on commit c51eb30

Please sign in to comment.