1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/tests/testdata/dynamic_import/permissions_blob_remote.ts

4 lines
131 B
TypeScript
Raw Permalink Normal View History

const code = `import "https://example.com/some/file.ts";`;
const blob = new Blob([code]);
await import(URL.createObjectURL(blob));