Skip to content

Commit

Permalink
build: remove empty module exports after compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
psibean committed Jan 1, 2024
1 parent 4d689c0 commit 11e77f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"lint": "npx eslint .",
"prettify": "npx prettier --write .",
"build:types": "npx tsup src/index.ts --out-dir lib --dts-only --format esm,cjs",
"build:cjs": "tsc -p tsconfig.cjs.json && mv ./lib/cjs/index.js ./lib/cjs/index.cjs",
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig.cjs.json && mv ./lib/cjs/index.js ./lib/cjs/index.cjs && rm ./lib/cjs/types.js",
"build:esm": "tsc -p tsconfig.json && rm ./lib/esm/types.js",
"build:code": "npm run build:cjs && npm run build:esm",
"build": "npm run build:types && npm run build:code",
"build:clean": "npm run clean && npm run build",
Expand Down

0 comments on commit 11e77f3

Please sign in to comment.