Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 4, 2024
1 parent fcc964b commit abc7ccc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/next/src/server/dev/hot-reloader-turbopack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ export async function createHotReloaderTurbopack(
hotReloaderSpan.stop()

const encryptionKey = await generateEncryptionKeyBase64(true)

// TODO: Implement
let clientRouterFilters: any
if (nextConfig.experimental.clientRouterFilter) {
// TODO this need to be set correctly for persistent caching to work
}

const project = await bindings.turbo.createProject(
{
projectPath: dir,
Expand All @@ -137,8 +144,7 @@ export async function createHotReloaderTurbopack(
env: process.env as Record<string, string>,
defineEnv: createDefineEnv({
isTurbopack: true,
// TODO: Implement
clientRouterFilters: undefined,
clientRouterFilters,
config: nextConfig,
dev: true,
distDir,
Expand Down

0 comments on commit abc7ccc

Please sign in to comment.