Skip to content

Commit b188e8f

Browse files
committed
Drop unnecessary package files
1 parent 8a95dde commit b188e8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ shell.mkdir('dist');
1313
shell.rm('-rf', 'pkg');
1414
shell.exec('wasm-pack build --target bundler');
1515
shell.mv('pkg', 'pkg.bundler');
16+
shell.rm('pkg.bundler/{LICENSE,package.json,README.md,.gitignore}');
1617

1718
// Create the node output
1819
shell.rm('-rf', 'pkg');
1920
shell.exec('wasm-pack build --target nodejs');
20-
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

Comments
 (0)