Open
Description
What is the problem this feature will solve?
tried doing:
code = 'console.log("hi")'
blob = new Blob([code], { type: 'text/javascript' })
url = URL.createObjectURL(blob)
import(url)
but failed with:
Only URLs with a scheme in: file and data are supported by the default ESM loader. Received protocol 'blob:'
What is the feature you are proposing to solve the problem?
being able to import dynamic generated code...
What alternatives have you considered?
converting it to a data:
url works as a work around...
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress