Closed addlistener closed 2 years ago
Can you share the snippet where you are importing? It shouldn't be creating those 0.main.js files -- did you change any configuration?
@jchnxu looking into this a bit more and don't believe dynamic importing will provide any benefit with this repo. Google Apps Scripts doesn't allow loading separate chunks -- it just loads a single html file at a time. The approach with this repo is to load all scripts inline into a single html file. This makes initial load time slower, but that is what is possible given the Google Apps Script environment. If you have any ideas on how to support dynamic imports I'm happy to hear them.
When I tried using the asynchronous import, heres what I got in the console
And I can only see code.gs in the online editor