mirror of
https://github.com/TurboWarp/packager.git
synced 2024-11-25 16:35:59 +08:00
2f0010294f
Actually fixes https://github.com/TurboWarp/packager/issues/528 https://github.com/TurboWarp/packager/pull/861 fixed running large projects in Chrome, but packaging still used string concatenation so it remained broken. Now the concatenation part is done using TextEncoder & Uint8Arrays and a template tag function to keep it readable. This time I have actually tested it with a 1.0GB sb3. Breaking Node API change: The data property returned by Packager#package() is now always a Uint8Array instead of sometimes string and sometimes ArrayBuffer. |
||
---|---|---|
.. | ||
blob-seriralizer.test.js | ||
encode-big-string.test.js | ||
merge.test.js | ||
serialize.test.js | ||
url-utils.test.js |