You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
safari: Change terser configuration to workaround threejs/terser incompatibility (#5495)
Users have reported problems loading TensorBoard in Safari: #5489
Thanks to @severo and @bileschi we were able to identify the problem to an incompatibility between threejs (which we use for WebGL rendering) and terser (which we use for minimizing/optimizing our code).
Angular encountered this problem last year and worked around it by changing their terser config by reducing number of passes from 3 to 2:
* angular/angular-cli#21107
* angular/angular-cli@2c2b499
In our case I have to reduce the number of terser passes from 3 to 1. For some reason reducing to 2 does not solve the problem.
This change surprisingly appears to reduce binary size. Before this change the size of index.js is 7672844 bytes. After this change the size of index.js is 7670992 bytes -- reducing binary size by 1852 bytes.
0 commit comments