Skip to content

Commit

Permalink
copy from Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 4, 2025
1 parent f798dac commit 3bb7a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function packageExtension(target) {
}

async function copyResult(filepath, target) {
const srcFilename = path.join(filepath, 'dawn.node');
const srcFilename = path.join(...[filepath, ...addElemIf(isWin, 'Debug'), 'dawn.node']);
const dstFilename = path.join('dist', `${target}.dawn.node`);
fs.mkdirSync(path.dirname(dstFilename), {recursive: true});
fs.copyFileSync(srcFilename, dstFilename);
Expand Down

0 comments on commit 3bb7a9f

Please sign in to comment.