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
I often find myself needing to load assets e.g. in tests in a platform agnostic way. Today this is tricky because in node you need to perform FS read and in browser you have fetch.
It should be fairly trivial to make support file URLs in node making fetch a universal API for loading assets.
The text was updated successfully, but these errors were encountered:
I often find myself needing to load assets e.g. in tests in a platform agnostic way. Today this is tricky because in node you need to perform FS read and in browser you have fetch.
It should be fairly trivial to make support file URLs in node making fetch a universal API for loading assets.
The text was updated successfully, but these errors were encountered: