Skip to content

Commit

Permalink
fix: use optimizeDeps for @nostr-binding/sdk (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu authored Jul 5, 2024
1 parent de070a2 commit 0995f53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"packages/*"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"chore": "pnpm -r run lint && pnpm -r run fmt && pnpm -r run build"
},
"keywords": [],
"author": "",
Expand Down
3 changes: 3 additions & 0 deletions packages/demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ import tsconfigPaths from "vite-tsconfig-paths";
installGlobals();

export default defineConfig({
optimizeDeps: {
include: ["@nostr-binding/sdk"],
},
plugins: [remix(), tsconfigPaths()],
});

0 comments on commit 0995f53

Please sign in to comment.