Skip to content

Commit d40a2c5

Browse files
authored
chore: remove runtime dependency of @rsbuild/core (#20)
1 parent 8ad64f4 commit d40a2c5

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"simple-git-hooks": "^2.11.1",
5151
"strip-ansi": "^7.1.0",
5252
"typescript": "^5.7.2",
53-
"upath": "^2.0.1"
53+
"upath": "^2.0.1",
54+
"rslog": "^1.2.3"
5455
},
5556
"peerDependencies": {
5657
"@rsbuild/core": "1.x"

pnpm-lock.yaml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/printErrors.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { logger } from '@rsbuild/core';
21
import color from 'picocolors';
2+
import { logger } from 'rslog';
3+
34
import type {
45
ECMASyntaxError,
56
EcmaVersion,

0 commit comments

Comments
 (0)