Skip to content

Commit

Permalink
feat: upgrade to tsup v7
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Aug 28, 2023
1 parent 899a530 commit 1e9b481
Show file tree
Hide file tree
Showing 3 changed files with 555 additions and 656 deletions.
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,20 @@
"files": [
"dist"
],
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"default": "./dist/index.js"
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"build": "tsup",
"test": "npm run build && uvu -r esbuild-register --ignore fixtures",
"prepublishOnly": "npm run build"
},
Expand All @@ -37,7 +42,7 @@
"path-exists": "^5.0.0",
"prettier": "2.5.1",
"rollup": "^2.60.0",
"tsup": "5.12.5",
"tsup": "7.2.0",
"typescript": "4.5.4",
"uvu": "^0.5.2",
"vite": "^2.6.14"
Expand Down
Loading

0 comments on commit 1e9b481

Please sign in to comment.