Adds initial progress
This commit is contained in:
commit
a0b668cb90
34 changed files with 2680 additions and 0 deletions
16
build/context.mjs
Normal file
16
build/context.mjs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import * as esbuild from "esbuild";
|
||||
import path from "path";
|
||||
|
||||
const context = await esbuild.context({
|
||||
entryPoints: [
|
||||
path.join('source', 'main.ts'),
|
||||
path.join('source', 'deploy.ts')
|
||||
],
|
||||
bundle: true,
|
||||
outdir: './dist/',
|
||||
platform: 'node',
|
||||
target: 'node10.4',
|
||||
sourcemap: 'linked',
|
||||
})
|
||||
|
||||
export default context
|
||||
Loading…
Add table
Add a link
Reference in a new issue