We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a95dde commit b188e8fCopy full SHA for b188e8f
build.js
@@ -13,8 +13,10 @@ shell.mkdir('dist');
13
shell.rm('-rf', 'pkg');
14
shell.exec('wasm-pack build --target bundler');
15
shell.mv('pkg', 'pkg.bundler');
16
+shell.rm('pkg.bundler/{LICENSE,package.json,README.md,.gitignore}');
17
18
// Create the node output
19
20
shell.exec('wasm-pack build --target nodejs');
-shell.mv('pkg', 'pkg.node');
21
+shell.mv('pkg', 'pkg.node');
22
+shell.rm('pkg.node/{LICENSE,package.json,README.md,.gitignore}');
0 commit comments