mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 20:58:27 +02:00
Upgrade bun
This commit is contained in:
1
build.ts
1
build.ts
@@ -27,6 +27,7 @@ const postProcess = (str: string): string => {
|
|||||||
|
|
||||||
// Remove enum's inlining comments
|
// Remove enum's inlining comments
|
||||||
str = str.replaceAll(/ \/\* [A-Z0-9_]+ \*\//g, '');
|
str = str.replaceAll(/ \/\* [A-Z0-9_]+ \*\//g, '');
|
||||||
|
str = str.replaceAll('/* @__PURE__ */ ', '');
|
||||||
|
|
||||||
// Remove comments from import
|
// Remove comments from import
|
||||||
str = str.replaceAll(/\/\/ src.*\n/g, '');
|
str = str.replaceAll(/\/\/ src.*\n/g, '');
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "^1.1.6",
|
"@types/bun": "^1.1.6",
|
||||||
"@types/node": "^20.14.12",
|
"@types/node": "^20.14.14",
|
||||||
"@types/stylus": "^0.48.42",
|
"@types/stylus": "^0.48.42",
|
||||||
"eslint": "^9.8.0",
|
"eslint": "^9.8.0",
|
||||||
"eslint-plugin-compat": "^6.0.0",
|
"eslint-plugin-compat": "^6.0.0",
|
||||||
|
Reference in New Issue
Block a user