You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Assert that there was no funky build time warning when we are on a stable (pinned) version
11
-
// if (nextjsVersion !== 'latest' && nextjsVersion !== 'canary') {
12
-
// assert.doesNotMatch(buildStderr, /Import trace for requested module/); // This is Next.js/Webpack speech for "something is off"
13
-
// }
14
-
// Note(lforst): I disabled this for the time being to figure out OTEL + Next.js - Next.js is currently complaining about a critical import in the @opentelemetry/instrumentation package. E.g:
Copy file name to clipboardExpand all lines: packages/nextjs/src/config/types.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -418,6 +418,7 @@ export type WebpackConfigObject = {
418
418
output: {filename: string;path: string};
419
419
target: string;
420
420
context: string;
421
+
ignoreWarnings?: {module?: RegExp}[];// Note: The interface for `ignoreWarnings` is larger but we only need this. See https://webpack.js.org/configuration/other-options/#ignorewarnings
0 commit comments