diff --git a/src/tools/prepare_wasm.ts b/src/tools/prepare_wasm.ts index f9a242c..7470744 100644 --- a/src/tools/prepare_wasm.ts +++ b/src/tools/prepare_wasm.ts @@ -201,7 +201,7 @@ for (const packageConfig of cockleConfig) { const targetFileName = path.join(target, filename); fs.copyFileSync(srcFilename, targetFileName); } else { - filenames.push(path.join(envPath, 'bin', moduleName + suffix)); + filenames.push(srcFilename); } } }