feat(permissions): Adds server permissions
This commit is contained in:
parent
d46bbd84c5
commit
cf9c88a2d6
24 changed files with 415 additions and 69 deletions
|
|
@ -1,6 +1,8 @@
|
|||
import * as esbuild from "esbuild";
|
||||
import path from "path";
|
||||
|
||||
const isDev = process.env.BUILD_TARGET !== 'DOCKER';
|
||||
|
||||
const context = await esbuild.context({
|
||||
entryPoints: [
|
||||
path.join('source', 'main.ts'),
|
||||
|
|
@ -10,7 +12,7 @@ const context = await esbuild.context({
|
|||
outdir: './dist/',
|
||||
platform: 'node',
|
||||
target: 'node10.4',
|
||||
sourcemap: 'linked',
|
||||
sourcemap: isDev ? 'external' : null,
|
||||
loader: {
|
||||
'.node': 'copy',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue