Importing external scripts
Hi,
One thing that is hard right now is to import external scripts as modules.
Say I want to use a browser library that you can use with <script src=xxx.js> on the browser. How can I import it on my script on lens studio ?
Let's say I want to compress my assets to save space and use a gzip js library to "unzip" it on the fly?
https://github.com/nodeca/pako/blob/master/dist/pako_deflate.min.js
How can I import this as a module?
I'm assuming the library is already fully compatible with lens studio (ES5 etc)
thanks