We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd69a8e commit ef23085Copy full SHA for ef23085
packages/nextjs/test/config.test.ts
@@ -63,8 +63,14 @@ const clientWebpackConfig = {
63
target: 'web',
64
context: '/Users/Maisey/projects/squirrelChasingSimulator',
65
};
66
-const serverBuildContext = { isServer: true, dev: false, buildId: 'doGsaREgReaT' };
67
-const clientBuildContext = { isServer: false, dev: false, buildId: 'doGsaREgReaT' };
+
+const baseBuildContext = {
68
+ dev: false,
69
+ buildId: 'doGsaREgReaT',
70
+ dir: '/Users/Maisey/projects/squirrelChasingSimulator',
71
+};
72
+const serverBuildContext = { isServer: true, ...baseBuildContext };
73
+const clientBuildContext = { isServer: false, ...baseBuildContext };
74
75
/**
76
* Derive the final values of all next config options, by first applying `withSentryConfig` and then, if it returns a
0 commit comments