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
This isn't supported in the existing release, which only copies individual assets.
I started implementing recursive copying of files today and it does work.
However I haven't yet figured out a way to have this support asset fingerprints in production. Since the importmap read by the browser and the import written in Module JS reference the plain asset path, (missing the cache digest or "fingerprint" in its filename).
I'd rather not release such a feature without a plan for how it will support proper asset caching in produciton.
We could maybe get around this by having an identifier per module generated automatically as part of the importmap generation.
As a not-ideal workaround though, you might be able to enumerate each plugin module you import as a specific importmap line.
As a not-ideal workaround though, you might be able to enumerate each plugin module you import as a specific importmap line.
I thought about this as well but the modules themselves are importing other modules which makes the enumeration task not trivial. Although this is threejs specific, I imagine this must be a common enough situation when it comes to other libraries as well.
Here is my importmap
I need to copy an entire folder, but when doing this an error happens
Is there a way to get around this and enable using directories in importmaps?
The text was updated successfully, but these errors were encountered: