Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Sep 22, 2023
1 parent a8071f8 commit 395e43b
Show file tree
Hide file tree
Showing 9 changed files with 557 additions and 46 deletions.
85 changes: 69 additions & 16 deletions dist/main/index.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/main/sourcemap-register.js

This file was deleted.

103 changes: 81 additions & 22 deletions dist/post/index.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/post/sourcemap-register.js

This file was deleted.

390 changes: 390 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"GitHub Actions"
],
"scripts": {
"build": "ncc build src/main.ts -o dist/main --minify --source-map & ncc build src/post.ts -o dist/post --minify --source-map & wait",
"build": "esbuild --bundle --format=esm --minify --outfile=dist/main/index.js --platform=node --sourcemap src/main.ts & esbuild --bundle --format=esm --minify --outfile=dist/post/index.js --platform=node --sourcemap src/post.ts & wait",
"lint": "eslint src/*.ts"
},
"dependencies": {
Expand All @@ -34,7 +34,7 @@
"devDependencies": {
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"@vercel/ncc": "*",
"esbuild": "*",
"eslint": "*",
"typescript": "*"
}
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"compilerOptions":
{
"esModuleInterop": true,
"moduleResolution": "Node",
"module": "nodenext",
"noImplicitAny": true,
"removeComments": true,
"strict": true,
Expand Down

0 comments on commit 395e43b

Please sign in to comment.