From 5bef6d3624e2744eee5cb31e562e0b918895fc8f Mon Sep 17 00:00:00 2001 From: FrozenPandaz Date: Sat, 25 May 2024 22:55:17 -0400 Subject: [PATCH] fix(core): really copy wasm files --- scripts/copy-local-native.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/copy-local-native.js b/scripts/copy-local-native.js index 1f27c716a3141..08a7444e4a6de 100644 --- a/scripts/copy-local-native.js +++ b/scripts/copy-local-native.js @@ -4,7 +4,9 @@ const glob = require('fast-glob'); const p = process.argv[2]; -const nativeFiles = glob.sync(`packages/${p}/**/*.node`); +const nativeFiles = glob.sync(`packages/${p}/**/*.{node,wasm}`); + +console.log({ nativeFiles }); nativeFiles.forEach((file) => { fs.copyFileSync(file, `build/${file}`);