Skip to content

Commit

Permalink
Disable parallel build for firebase authentication example
Browse files Browse the repository at this point in the history
  • Loading branch information
ctavan committed Oct 25, 2019
1 parent 67d6902 commit a509a8d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/with-firebase-authentication/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Parallel builds are currently broken due to a limitation in grpc (a transitive firebase
// dependency). Until this is fixed, a workaround is to set the number of available CPUs to 1.
// https://github.com/zeit/next.js/issues/7894
// https://github.com/grpc/grpc-node/issues/778
module.exports = {
experimental: {
cpus: 1
}
}

0 comments on commit a509a8d

Please sign in to comment.