mirror of
https://github.com/denoland/deno.git
synced 2024-11-15 16:43:44 -05:00
9 lines
181 B
TypeScript
9 lines
181 B
TypeScript
|
const blob = new Blob(['export { a } from "./a.ts";'], {
|
||
|
type: "application/javascript",
|
||
|
});
|
||
|
const url = URL.createObjectURL(blob);
|
||
|
|
||
|
const a = await import(url);
|
||
|
|
||
|
console.log(a);
|