@turborepo/adaper-next
An adapter to make Next.js work with Turborepo. For now, this is a pass thru to next-transpile-modules
. In the future, this package will automate the need to specify dependencies, but for now, this is a manual task.
Install
yarn add @turborepo/adapter-next --dev
Usage
// next.config.js
module.exports = require('@turborepo/adapter-next')([
// a list of packages that are used dependencies
'@sample/dep',
'@sample/dep-react',
'@sample/dep-react-internal'
])()