Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
fix: replace esbuild.stop() to await esbuild.stop()
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsukina-7mochi committed Jan 30, 2024
1 parent abbe08f commit 1c0c224
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example/ignore-modules/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion example/import-map/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion example/lit-esmsh/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion example/lit-npm/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion example/preact-esmsh/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion example/preact-npm/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion example/react-esmsh/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion example/react-npm/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ await esbuild.build({
],
});

esbuild.stop();
await esbuild.stop();
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const config: esbuild.BuildOptions = {

await esbuild.build(config);

esbuild.stop();
await esbuild.stop();
```

And don't forget to cache `src/main.ts` with Deno:
Expand Down

0 comments on commit 1c0c224

Please sign in to comment.