update build script

pull/91/head
Vladimir Mandic 2021-03-10 10:30:34 -05:00
parent 55bc740ddd
commit cc338675c3
1 changed files with 4 additions and 2 deletions

View File

@ -42,15 +42,15 @@ const config = {
common: {
banner,
tsconfig: 'server/tfjs-tsconfig.json',
bundle: true,
logLevel: 'error',
metafile: true,
},
debug: {
minifyWhitespace: false,
minifyIdentifiers: false,
minifySyntax: false,
sourcemap: true,
bundle: true,
metafile: true,
target: 'es2018',
},
production: {
@ -58,6 +58,8 @@ const config = {
minifyIdentifiers: true,
minifySyntax: true,
sourcemap: true,
bundle: true,
metafile: true,
target: 'es2018',
},
};