mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(scripts): update build:vercel script to use .mjs extension for output file
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsx scripts/workflow/build-routes.ts && tsdown",
|
||||
"build:vercel": "tsx scripts/workflow/build-routes.ts && tsdown --config ./tsdown-vercel.config.ts && mv dist/server.js dist/index.js && tsx scripts/workflow/build-vercel-packagejson.ts",
|
||||
"build:vercel": "tsx scripts/workflow/build-routes.ts && tsdown --config ./tsdown-vercel.config.ts && mv dist/server.mjs dist/index.mjs && tsx scripts/workflow/build-vercel-packagejson.ts",
|
||||
"build:docs": "tsx scripts/workflow/build-docs.ts",
|
||||
"dev": "cross-env NODE_ENV=dev NODE_OPTIONS='--max-http-header-size=32768' tsx watch --inspect --clear-screen=false lib/index.ts",
|
||||
"dev:cache": "cross-env NODE_ENV=production NODE_OPTIONS='--max-http-header-size=32768' tsx watch --clear-screen=false lib/index.ts",
|
||||
|
||||
Reference in New Issue
Block a user