Skip to content

Commit

Permalink
docs: fix example in readme (#48)
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Casonato <hello@lcas.dev>
  • Loading branch information
jsejcksn and lucacasonato authored Jun 3, 2023
1 parent f92b145 commit 8a27409
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ import * as esbuild from "https://deno.land/x/esbuild@v0.17.19/mod.js";
import { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.0/mod.ts";

const result = await esbuild.build({
plugins: [..denoPlugins()],
entryPoints: ["https://deno.land/std@0.185.0/hash/sha1.ts"],
outfile: "./dist/sha1.esm.js",
plugins: [...denoPlugins()],
entryPoints: ["https://deno.land/std@0.185.0/bytes/mod.ts"],
outfile: "./dist/bytes.esm.js",
bundle: true,
format: "esm",
});

console.log(result.outputFiles);

esbuild.stop();
Expand Down

0 comments on commit 8a27409

Please sign in to comment.