Skip to content

Commit 23447c8

Browse files
committed
Pass isDevelopment
1 parent dfe49b0 commit 23447c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/next/src/build/swc/options.ts

+1
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ function getBaseSWCOptions({
219219
isAppRouterPagesLayer && !jest
220220
? {
221221
isReactServerLayer,
222+
isDevelopment: development,
222223
useCacheEnabled,
223224
hashSalt: serverReferenceHashSalt,
224225
cacheKinds: ['default', 'remote'].concat(

0 commit comments

Comments
 (0)