Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Oct 27, 2024
1 parent c09fc7f commit 845a1d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/workerd/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export async function createWorkerdDevEnvironment(
const viteModuleRunnerContent = readFileSync(
viteModuleRunnerPath,
"utf-8",
// avoid new AsyncFunction during import side effect
).replace(`new AsyncFunction("a", "b", body).toString()`, `""`);

// setup miniflare with a durable object script to run vite module runner
Expand Down

0 comments on commit 845a1d2

Please sign in to comment.