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
Notes:
We are using terser.
There are static/const values as: l.NUMBER, l.BIGINT_POSITIVE, l.BIGINT_NEGATIVE, l.STRING;
Or Uint32Array.BYTES_PER_ELEMENT that although statically known, not are not beaning inlined by terser.
To see the the minified code: https://unpkg.com/@bnaya/[email protected]/dist/objectbuffer.esm.js
And also run yarn build and look at the dist folder
Bnaya
changed the title
[optimization] Research and configure the minifyer to inline more values
[optimization] Research and configure the minifier to inline more values
Jun 29, 2020
Notes:
We are using terser.
There are static/const values as:
l.NUMBER, l.BIGINT_POSITIVE, l.BIGINT_NEGATIVE, l.STRING;
Or
Uint32Array.BYTES_PER_ELEMENT
that although statically known, not are not beaning inlined by terser.To see the the minified code:
https://unpkg.com/@bnaya/[email protected]/dist/objectbuffer.esm.js
And also run yarn
build
and look at the dist folderSee if https://github.com/terser/terser#annotations can help
The text was updated successfully, but these errors were encountered: