Skip to content

Commit 8652e86

Browse files
committed
exclude dist versions, too
1 parent 8cb10cd commit 8652e86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/nextjs/src/config/webpack.ts

+2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ export function constructWebpackConfigFunction(
7272
alias: {
7373
...newConfig.resolve?.alias,
7474
[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,
7577
},
7678
};
7779
}

0 commit comments

Comments
 (0)