Skip to content

Commit 4412fc0

Browse files
authored
chore(build): switch to Rslib (#10)
1 parent 0af9c81 commit 4412fc0

File tree

4 files changed

+61
-1007
lines changed

4 files changed

+61
-1007
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
"main": "./dist/index.js",
1515
"module": "./dist/index.mjs",
1616
"types": "./dist/index.d.ts",
17-
"files": ["dist"],
17+
"files": [
18+
"dist"
19+
],
1820
"scripts": {
19-
"build": "tsup",
20-
"dev": "tsup --watch",
21+
"build": "rslib build",
22+
"dev": "rslib build --watch",
2123
"lint": "biome check .",
2224
"lint:write": "biome check . --write",
2325
"prepare": "simple-git-hooks && npm run build",
@@ -43,12 +45,12 @@
4345
"@biomejs/biome": "^1.9.4",
4446
"@playwright/test": "^1.48.2",
4547
"@rsbuild/core": "^1.0.19",
48+
"@rslib/core": "^0.0.16",
4649
"@types/node": "^22.8.6",
4750
"nano-staged": "^0.8.0",
4851
"playwright": "^1.48.2",
4952
"simple-git-hooks": "^2.11.1",
5053
"strip-ansi": "^7.1.0",
51-
"tsup": "^8.3.5",
5254
"typescript": "^5.6.3",
5355
"upath": "^2.0.1"
5456
},

0 commit comments

Comments
 (0)