mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)
Fixes #8060
This commit is contained in:
parent
3558769d46
commit
fdcc78500c
23 changed files with 852 additions and 2770 deletions
|
@ -1,7 +1,7 @@
|
|||
const [errors, program] = await Deno.compile(
|
||||
"main.ts",
|
||||
"/main.ts",
|
||||
{
|
||||
"main.ts": `document.getElementById("foo");`,
|
||||
"/main.ts": `document.getElementById("foo");`,
|
||||
},
|
||||
{
|
||||
lib: ["dom", "esnext"],
|
||||
|
@ -9,4 +9,4 @@ const [errors, program] = await Deno.compile(
|
|||
);
|
||||
|
||||
console.log(errors);
|
||||
console.log(Object.keys(program));
|
||||
console.log(Object.keys(program).sort());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue