Skip to content

Commit 61c9473

Browse files
committed
perf: replace magic-string with rolldown-string for better performance
1 parent 2d5dd9f commit 61c9473

File tree

3 files changed

+962
-919
lines changed

3 files changed

+962
-919
lines changed

package.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "unplugin-inline-enum",
33
"type": "module",
44
"version": "0.6.4",
5-
"packageManager": "[email protected].1",
5+
"packageManager": "[email protected].3",
66
"description": "Inline enum values to optimize bundle size.",
77
"author": "Kevin Deng <[email protected]>",
88
"license": "MIT",
@@ -32,8 +32,6 @@
3232
"./webpack": "./dist/webpack.mjs",
3333
"./package.json": "./package.json"
3434
},
35-
"main": "./dist/index.mjs",
36-
"module": "./dist/index.mjs",
3735
"types": "./dist/index.d.mts",
3836
"typesVersions": {
3937
"*": {
@@ -64,31 +62,31 @@
6462
},
6563
"dependencies": {
6664
"ast-kit": "^2.2.0",
67-
"magic-string": "^0.30.21",
6865
"picomatch": "^4.0.3",
66+
"rolldown-string": "^0.2.1",
6967
"tinyglobby": "^0.2.15",
70-
"unplugin": "^2.3.11",
68+
"unplugin": "^3.0.0",
7169
"unplugin-replace": "^0.6.3"
7270
},
7371
"devDependencies": {
7472
"@babel/types": "^7.29.0",
75-
"@sxzz/eslint-config": "^7.8.0",
73+
"@sxzz/eslint-config": "^7.8.2",
7674
"@sxzz/prettier-config": "^2.3.1",
7775
"@sxzz/test-utils": "^0.5.15",
78-
"@types/node": "^25.3.0",
76+
"@types/node": "^25.3.3",
7977
"@types/picomatch": "^4.0.2",
80-
"@typescript/native-preview": "7.0.0-dev.20260222.1",
78+
"@typescript/native-preview": "7.0.0-dev.20260302.1",
8179
"bumpp": "^10.4.1",
8280
"esbuild": "^0.27.3",
83-
"eslint": "^10.0.0",
81+
"eslint": "^10.0.2",
8482
"prettier": "^3.8.1",
8583
"rollup": "^4.59.0",
86-
"tsdown": "^0.20.3",
84+
"tsdown": "^0.21.0-beta.2",
8785
"typescript": "^5.9.3",
8886
"unplugin-oxc": "^0.5.7",
8987
"vite": "^7.3.1",
9088
"vitest": "^4.0.18",
91-
"webpack": "^5.105.2"
89+
"webpack": "^5.105.3"
9290
},
9391
"prettier": "@sxzz/prettier-config"
9492
}

0 commit comments

Comments
 (0)