Skip to content

Conversation

@lobsterkatie
Copy link
Member

The files being output by webpack after it compiles sentry.server.config.js are currently coming out with a double extension (.js.js), because we include the .js even though webpack also adds one. This fixes that by removing our .js when passing the file to webpack. (The .js can't just be removed from the constant because it's needed elsewhere).

@lobsterkatie lobsterkatie requested a review from kamilogorek as a code owner May 25, 2021 15:49
Base automatically changed from kmclb-nextjs-fix-merging-webpack-config to kmclb-next-js-performance May 25, 2021 15:50
@github-actions
Copy link
Contributor

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 20.76 KB (0%)
@sentry/browser - Webpack 21.98 KB (0%)
@sentry/react - Webpack 22.01 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.16 KB (0%)

@lobsterkatie lobsterkatie merged commit b6f9dc6 into kmclb-next-js-performance May 25, 2021
@lobsterkatie lobsterkatie deleted the kmclb-nextjs-fix-server-init-js-js branch May 25, 2021 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants