diff --git a/build.ts b/build.ts index 6eb558d..2638f19 100644 --- a/build.ts +++ b/build.ts @@ -27,6 +27,7 @@ const postProcess = (str: string): string => { // Remove enum's inlining comments str = str.replaceAll(/ \/\* [A-Z0-9_]+ \*\//g, ''); + str = str.replaceAll('/* @__PURE__ */ ', ''); // Remove comments from import str = str.replaceAll(/\/\/ src.*\n/g, ''); diff --git a/bun.lockb b/bun.lockb index 2866c67..213ccad 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 3def306..10e5d88 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@types/bun": "^1.1.6", - "@types/node": "^20.14.12", + "@types/node": "^20.14.14", "@types/stylus": "^0.48.42", "eslint": "^9.8.0", "eslint-plugin-compat": "^6.0.0",