Skip to content

Commit

Permalink
exclude dist versions, too
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsterkatie committed Sep 14, 2021
1 parent 8cb10cd commit 8652e86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nextjs/src/config/webpack.ts
Expand Up @@ -72,6 +72,8 @@ export function constructWebpackConfigFunction(
alias: {
...newConfig.resolve?.alias,
[path.resolve(buildContext.dir, `./node_modules/@sentry/tracing/esm/${excludedTracingDir}`)]: false,
// TODO It's not clear if it will ever pull from `dist` (in testing it never does), so we may not need this.
[path.resolve(buildContext.dir, `./node_modules/@sentry/tracing/dist/${excludedTracingDir}`)]: false,
},
};
}
Expand Down

0 comments on commit 8652e86

Please sign in to comment.