diff --git a/cli/src/api/artifacts.ts b/cli/src/api/artifacts.ts index 2c3ba453..4f4b6668 100644 --- a/cli/src/api/artifacts.ts +++ b/cli/src/api/artifacts.ts @@ -102,7 +102,7 @@ export async function collectArtifacts(userOptions: ArtifactsOptions) { ) const browserWorkerFile = join( options.buildOutputDir ?? options.cwd, - `wasi-worker-browser.js`, + `wasi-worker-browser.mjs`, ) debug.info( `Move wasi binding file [${colors.yellowBright(