added minification notes

pull/70/head
Vladimir Mandic 2021-01-15 12:42:53 -05:00
parent e51d52c446
commit 79b49b0322
1 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@ const banner = `
// common configuration
const common = {
banner,
minifyWhitespace: true,
minifyIdentifiers: true,
minifySyntax: true,
minifyWhitespace: true, // this is ok in all versions
minifyIdentifiers: true, // this requires tfjs 2.8.1 before it can be used safely
minifySyntax: true, // this breaks in tfjs 2.8.4
bundle: true,
sourcemap: true,
logLevel: 'error',