fix(cli): artifacts wasi worker name (#1895)

This commit is contained in:
LongYinan 2024-01-09 01:05:19 +08:00 committed by GitHub
parent a6934ab041
commit 1676930728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(