Skip to content

Commit 56afee8

Browse files
committed
Update entrypoint template
Deno bundler auto-wraps top-level async code in async IIFE
1 parent 526611f commit 56afee8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

data/templates.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ export enum FileName {
1010
}
1111

1212
const entrypointFile = encodeTextFile(`
13-
(async () => {
14-
console.log('hello world');
15-
})();
13+
console.log('hello world');
1614
`);
1715

1816
const metablockFile = encodeTextFile(`

0 commit comments

Comments
 (0)