Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Arrowood committed Apr 24, 2024
1 parent fbc198c commit 4254b93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next/src/server/stream-utils/index.js
@@ -1,8 +1,8 @@
if (
process.env.NEXT_RUNTIME === 'nodejs' &&
process.env.EXPERIMENTAL_NODE_STREAMS_SUPPORT
process.env.EXPERIMENTAL_NODE_STREAMS_SUPPORT === '1'
) {
module.exports = require('next/dist/server/stream-utils/stream-utils.edge.js')
} else {
module.exports = require('next/dist/server/stream-utils/stream-utils.node.js')
} else {
module.exports = require('next/dist/server/stream-utils/stream-utils.edge.js')
}

0 comments on commit 4254b93

Please sign in to comment.