perf: use nolyfill to reduce install size (#56)

This commit is contained in:
藍+85CD
2025-03-08 20:02:36 +08:00
committed by GitHub
parent 25e06085f3
commit 4fdb151514
3 changed files with 103 additions and 685 deletions
+2
View File
@@ -80,6 +80,7 @@ words:
- logg
- lucide
- Maru
- matchall
- micvad
- mineflayer
- mingcute
@@ -92,6 +93,7 @@ words:
- neuri
- Neuro
- Neuro-sama
- nolyfill
- nomic
- novita
- nuxi
+12 -2
View File
@@ -28,7 +28,8 @@
"typecheck": "pnpm -rF=\"./packages/*\" -F=\"./apps/*\" -F run --parallel typecheck",
"sizecheck": "npx vite-bundle-visualizer",
"up": "taze major -I",
"changelogithub": "changelogithub"
"changelogithub": "changelogithub",
"nolyfill": "pnpm dlx nolyfill"
},
"devDependencies": {
"@antfu/eslint-config": "^4.7.0",
@@ -63,7 +64,16 @@
"apps/**"
],
"pnpm": {
"neverBuiltDependencies": []
"neverBuiltDependencies": [],
"overrides": {
"array-flatten": "npm:@nolyfill/array-flatten@^1",
"is-core-module": "npm:@nolyfill/is-core-module@^1",
"isarray": "npm:@nolyfill/isarray@^1",
"safe-buffer": "npm:@nolyfill/safe-buffer@^1",
"safer-buffer": "npm:@nolyfill/safer-buffer@^1",
"side-channel": "npm:@nolyfill/side-channel@^1",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@^1"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
+89 -683
View File
File diff suppressed because it is too large Load Diff