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 // common configuration
const common = { const common = {
banner, banner,
minifyWhitespace: true, minifyWhitespace: true, // this is ok in all versions
minifyIdentifiers: true, minifyIdentifiers: true, // this requires tfjs 2.8.1 before it can be used safely
minifySyntax: true, minifySyntax: true, // this breaks in tfjs 2.8.4
bundle: true, bundle: true,
sourcemap: true, sourcemap: true,
logLevel: 'error', logLevel: 'error',