Skip to content

Commit e6b7f30

Browse files
authored
chore(build): switch to Rslib (#12)
1 parent adbc7dd commit e6b7f30

File tree

5 files changed

+78
-784
lines changed

5 files changed

+78
-784
lines changed

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
"main": "./dist/index.js",
1515
"module": "./dist/index.mjs",
1616
"types": "./dist/index.d.ts",
17-
"files": [
18-
"dist"
19-
],
17+
"files": ["dist"],
2018
"scripts": {
21-
"build": "tsup",
22-
"dev": "tsup --watch",
19+
"build": "rslib build",
20+
"dev": "rslib build --watch",
2321
"lint": "biome check .",
2422
"lint:write": "biome check . --write",
2523
"prepare": "simple-git-hooks && npm run build",
@@ -41,12 +39,12 @@
4139
"@rsbuild/plugin-less": "^1.1.0",
4240
"@rsbuild/plugin-sass": "^1.1.0",
4341
"@rsbuild/plugin-stylus": "^1.0.5",
42+
"@rslib/core": "^0.0.16",
4443
"@types/node": "^22.8.6",
4544
"line-diff": "2.1.1",
4645
"nano-staged": "^0.8.0",
4746
"playwright": "^1.48.2",
4847
"simple-git-hooks": "^2.11.1",
49-
"tsup": "^8.3.5",
5048
"typescript": "^5.6.3"
5149
},
5250
"peerDependencies": {

0 commit comments

Comments
 (0)