1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 18:17:48 -05:00
denoland-deno/tests/testdata/dynamic_import/permissions_blob_remote.ts

4 lines
131 B
TypeScript
Raw Normal View History

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