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