Skip to content

Commit

Permalink
whisper
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed May 3, 2021
1 parent 89dafb3 commit 9553a57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module.exports = {
webpack: (config, { isServer }) => {
// Fixes npm packages that depend on `fs` module

config.node = {
fs: 'empty'
if (!isServer) {
config.node = {
fs: 'empty'
}
}


return config
},
env: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"axios": "^0.21.1",
"formik": "^2.2.6",
"framer-motion": "^2.9.4",
"next": "latest",
"next": "^10.0.9",
"next-page-tester": "^0.24.1",
"node-fetch": "^2.6.1",
"react": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4417,7 +4417,7 @@ next-page-tester@^0.24.1:
normalize-path "^3.0.0"
stealthy-require "^1.1.1"

next@latest:
next@^10.0.9:
version "10.0.9"
resolved "https://registry.yarnpkg.com/next/-/next-10.0.9.tgz#ad5d8e0368fee8363cdfd64d22dfbf71f683ae66"
integrity sha512-HyoVjYydcM6LaFAUOHSxVQCcKOsIimVO/IKXCuWUu1rr6DDgXbWNg/8ckH084qD46MOYlLzjViiZ3KCmNQL4Cw==
Expand Down

0 comments on commit 9553a57

Please sign in to comment.