mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39: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":
|
||||
"/main.ts":
|
||||
`/// <reference lib="dom" />\n\ndocument.getElementById("foo");\nDeno.args;`,
|
||||
},
|
||||
{
|
||||
|
@ -11,4 +11,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