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
Is your feature request related to a problem? Please describe.
At the moment it is not possible to require binary data (eg. import logo from "../images/logo.png";)
Describe the solution you'd like
The solution is to mimic how fetch() handle this :
see the issue #69 for details
BREAKING CHANGE: *getFile()* will continue to support a simple string as return value but the object form is now : `{ type, getContentData }` instead of `{ type, content }`
Is your feature request related to a problem? Please describe.
At the moment it is not possible to require binary data (eg.
import logo from "../images/logo.png";
)Describe the solution you'd like
The solution is to mimic how
fetch()
handle this :Additional context
see discussion #60
** Note **
This implies a breaking changes for the API
options.getFile()
and typeFile
getFile() will continue to support a simple string as return value but the object form will be :
{ type, getContentData }
instead of{ type, content }
The text was updated successfully, but these errors were encountered: