summaryrefslogtreecommitdiff
path: root/std/manual.md
diff options
context:
space:
mode:
Diffstat (limited to 'std/manual.md')
-rw-r--r--std/manual.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/manual.md b/std/manual.md
index 3f215c286..ece5a755b 100644
--- a/std/manual.md
+++ b/std/manual.md
@@ -969,7 +969,7 @@ which can be supported by Deno.
An example of providing sources:
```ts
-const [diagnostics, emit] = await Deno.compile("/foo.ts", {
+const [diagnostics, emit] = await Deno.bundle("/foo.ts", {
"/foo.ts": `import * as bar from "./bar.ts";\nconsole.log(bar);\n`,
"/bar.ts": `export const bar = "bar";\n`
});
@@ -985,7 +985,7 @@ When not supplying resources, you can use local or remote modules, just like you
could do on the command line. So you could do something like this:
```ts
-const [diagnostics, emit] = await Deno.compile(
+const [diagnostics, emit] = await Deno.bundle(
"https://deno.land/std/http/server.ts"
);
```