Skip to content

Commit

Permalink
fix(wasm): exclude the demo/node_packages subdir from the package
Browse files Browse the repository at this point in the history
  • Loading branch information
yanliu38 committed Feb 26, 2025
1 parent 9032d11 commit c146068
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions wasm/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore node_modules in the demo directory
demo/node_modules/

# Ignore development files
.eslintrc.json
.prettierrc
3 changes: 2 additions & 1 deletion wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"files": [
"dist",
"README.md",
"demo"
"demo",
"!demo/node_modules"
],
"scripts": {
"build": "node build.js",
Expand Down

0 comments on commit c146068

Please sign in to comment.