Fflate in playground?

If it’s just for the playground, you should be able to load the UMD script as noted in the npm readme:

https://unpkg.com/fflate@0.8.0

or

https://cdn.jsdelivr.net/npm/fflate@0.8.0/umd/index.js

You can use BABYLON.Tools.LoadScriptAsync to load the scripts.

2 Likes