Skip to content

Commit

Permalink
Update example, now running
Browse files Browse the repository at this point in the history
  • Loading branch information
debbly committed Oct 17, 2023
1 parent 19e1a33 commit 9e5aa6d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions apps/demo-pkp-social-auth-next-ts/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
/** @type {import('next').NextConfig} */

var webpack = require('webpack');

const nextConfig = {
reactStrictMode: true,
webpack: (config, options) => {
config.plugins.push(
new webpack.NormalModuleReplacementPlugin(/^node:/, (resource) => {
resource.request = resource.request.replace(/^node:/, "");
})
);
return config;
},
}

module.exports = nextConfig
4 changes: 3 additions & 1 deletion apps/demo-pkp-social-auth-next-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@lit-protocol/types": "^3.0.6",
"@radix-ui/react-radio-group": "^1.1.3",
"@stytch/nextjs": "^11.0.0",
"@stytch/vanilla-js": "^3.0.1",
"dotenv": "^16.3.1",
"eslint": "8.36.0",
"eslint-config-next": "^13.5.4",
Expand All @@ -25,7 +26,8 @@
"prettier": "^2.8.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"wagmi": "^0.12.8"
"wagmi": "^0.12.8",
"webpack": "^5.89.0"
},
"devDependencies": {
"@types/node": "18.15.11",
Expand Down

0 comments on commit 9e5aa6d

Please sign in to comment.