Skip to content

Commit 387a900

Browse files
committed
build: change bundler to tsdown
1 parent 933664c commit 387a900

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
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel lint:*",
1616
"lint:docs": "markdownlint \"**/*.md\"",
1717
"lint:eslint-docs": "npm-run-all -s build \"update:eslint-docs -- --check\"",
@@ -81,7 +81,7 @@
8181
"npm-run-all2": "^7.0.1",
8282
"prettier": "^3.4.1",
8383
"release-it": "^17.2.0",
84-
"tsup": "^8.5.0",
84+
"tsdown": "^0.13.3",
8585
"typescript": "^5.9.2",
8686
"vitest": "^3.2.4"
8787
},

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)