Skip to content

Commit b28785c

Browse files
committed
build: change bundler to tsdown
1 parent 575cb27 commit b28785c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"license": "MIT",
1313
"scripts": {
14-
"build": "tsup",
14+
"build": "tsdown",
1515
"format": "prettier --write .",
1616
"format:check": "prettier --check .",
1717
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel lint:*",
@@ -83,7 +83,7 @@
8383
"npm-run-all2": "^7.0.1",
8484
"prettier": "^3.6.2",
8585
"release-it": "^17.2.0",
86-
"tsup": "^8.5.0",
86+
"tsdown": "^0.13.3",
8787
"typescript": "^5.9.2",
8888
"typescript-eslint": "^8.39.0",
8989
"vitest": "^3.2.4"

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"verbatimModuleSyntax": true,
1414
"erasableSyntaxOnly": true,
1515
"forceConsistentCasingInFileNames": true,
16+
"rewriteRelativeImportExtensions": true,
1617
"paths": {
1718
"eslint-plugin-eslint-plugin": ["./lib/index.ts"]
1819
},

tsup.config.ts renamed to tsdown.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { defineConfig } from 'tsup';
1+
import { defineConfig } from 'tsdown';
22

33
export default defineConfig({
4-
bundle: false,
4+
unbundle: true,
55
clean: true,
66
dts: true,
77
entry: ['lib/**/*.ts'],

0 commit comments

Comments
 (0)