Skip to content

Commit e60b590

Browse files
committed
feat ✨ : add static html to use on serverless platform
1 parent 437c95c commit e60b590

File tree

5 files changed

+2364
-0
lines changed

5 files changed

+2364
-0
lines changed

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
pnpm build
4+
pnpm m3u
5+
cp -f ./public/index.* m3u/

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"dev": "cross-env NODE_ENV=development tsup --watch",
1111
"build": "tsup",
1212
"m3u": "node ./dist/index.js",
13+
"static": "cp public/index.* m3u/",
1314
"serve": "node ./dist/serve.js",
1415
"serve:dev": "nodemon ./dist/serve.js",
1516
"matrix": "node ./dist/matrix.js",

0 commit comments

Comments
 (0)