Skip to content

Commit

Permalink
remove turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
feedthejim committed Sep 11, 2023
1 parent 9de2fd5 commit 899a393
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ export function getDefineEnv({
'global.GENTLY': JSON.stringify(false),
}
: undefined),
'process.env.TURBOPACK': JSON.stringify(false),
}
}

Expand Down
1 change: 1 addition & 0 deletions packages/next/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ module.exports = ({ dev, turbo }) => {
dev ? 'development' : 'production'
),
'process.env.NEXT_RUNTIME': JSON.stringify('nodejs'),
...(!dev ? { 'process.env.TURBOPACK': JSON.stringify(turbo) } : {}),
}),
!!process.env.ANALYZE &&
new BundleAnalyzerPlugin({
Expand Down

0 comments on commit 899a393

Please sign in to comment.