builder
This commit is contained in:
parent
7c74f50c35
commit
7021328618
2 changed files with 12 additions and 0 deletions
2
.env.example
Normal file
2
.env.example
Normal file
|
@ -0,0 +1,2 @@
|
|||
CLIENT_ID=
|
||||
CLIENT_SECRET=
|
10
build.mjs
Normal file
10
build.mjs
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { build } from "esbuild";
|
||||
|
||||
await build({
|
||||
entryPoints: ["src/index.ts"],
|
||||
bundle: true,
|
||||
platform: "node",
|
||||
outfile: "dist/index.js",
|
||||
minify: true,
|
||||
treeShaking: true // shake it off shake it offff
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue