Skip to content

Commit

Permalink
fix apps conposable-nft-renderer-app
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Gii committed Mar 14, 2024
1 parent 898e5c2 commit 40b162d
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/composable-nft-renderer-app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
*/
const nextConfig = {
transpilePackages: ['@rmrk-team/nft-renderer', '@rmrk-team/rmrk-evm-utils'],
webpack: (config) => {
config.externals = [...config.externals, { canvas: "canvas" }];
return config;
},
};

export default nextConfig;
3 changes: 2 additions & 1 deletion apps/composable-nft-renderer-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"@ark-ui/react": "^1.2.1",
"@rainbow-me/rainbowkit": "^2.0.0-beta.1",
"@rmrk-team/nft-renderer": "workspace:*",
"@rmrk-team/rmrk-2d-renderer": "workspace:*",
"@rmrk-team/rmrk-evm-utils": "workspace:*",
"@rmrk-team/rmrk-hooks": "workspace:*",
"@rmrk-team/rmrk-2d-renderer": "workspace:*",
"@tanstack/react-query": "^5.17.12",
"canvas": "^2.11.2",
"lucide-react": "^0.303.0",
"next": "13.4.1",
"react": "18.2.0",
Expand Down
Loading

0 comments on commit 40b162d

Please sign in to comment.