We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cb10cd commit 8652e86Copy full SHA for 8652e86
packages/nextjs/src/config/webpack.ts
@@ -72,6 +72,8 @@ export function constructWebpackConfigFunction(
72
alias: {
73
...newConfig.resolve?.alias,
74
[path.resolve(buildContext.dir, `./node_modules/@sentry/tracing/esm/${excludedTracingDir}`)]: false,
75
+ // TODO It's not clear if it will ever pull from `dist` (in testing it never does), so we may not need this.
76
+ [path.resolve(buildContext.dir, `./node_modules/@sentry/tracing/dist/${excludedTracingDir}`)]: false,
77
},
78
};
79
}
0 commit comments