Refactor: remove Bun fallback

This commit is contained in:
SukkaW
2024-07-24 11:36:14 +08:00
parent bb65a4180c
commit 46ae8e8cd8
5 changed files with 59 additions and 112 deletions

View File

@@ -9,10 +9,11 @@
},
"type": "commonjs",
"scripts": {
"node": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true node -r @swc-node/register",
"dexnode": "SWCRC=true ENABLE_TEXT_LINE_STREAM=true dexnode -r @swc-node/register",
"node": "SWCRC=true node -r @swc-node/register",
"dexnode": "SWCRC=true dexnode -r @swc-node/register",
"build": "pnpm run node ./Build/index.ts",
"build-profile": "pnpm run dexnode -r @swc-node/register ./Build/index.ts",
"build-webstream": "ENABLE_EXPERIMENTAL_WEBSTREAMS=true pnpm run node ./Build/index.ts",
"lint": "eslint --format=sukka ."
},
"author": "",