mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -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);
|