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
it would allow for the fsa-to-node module to be used in frameworks where import is the only way to grab the worker file (vite for example).
The import would look like:
importMyWokerfrom'../worker?worker&url'
which gets morphed to the url string /src/worker.ts?type=module&worker_file and expects the worker initialization to have the worker options of type module passed top it.
The text was updated successfully, but these errors were encountered:
The current code for worker in FsaNodeSyncAdapterWorker only creates a worker from url string: line #24
If this would be changed to:
it would allow for the fsa-to-node module to be used in frameworks where import is the only way to grab the worker file (vite for example).
The import would look like:
which gets morphed to the url string
/src/worker.ts?type=module&worker_file
and expects the worker initialization to have the worker options of type module passed top it.The text was updated successfully, but these errors were encountered: