Skip to content

Commit

Permalink
fix(core): really copy wasm files
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed May 26, 2024
1 parent fd6a8fd commit 5bef6d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/copy-local-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 5bef6d3

Please sign in to comment.