From 16769307283c9f1c278340da0f6ddc90744d3668 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 9 Jan 2024 01:05:19 +0800 Subject: [PATCH] fix(cli): artifacts wasi worker name (#1895) --- cli/src/api/artifacts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(