File tree Expand file tree Collapse file tree 4 files changed +149
-125
lines changed Expand file tree Collapse file tree 4 files changed +149
-125
lines changed Original file line number Diff line number Diff line change 1+ save-exact = true
Original file line number Diff line number Diff line change 11/**
22 * This file sets a custom webpack configuration to use your Next.js app
33 * with Sentry.
4- *
4+ *
55 * @see https://nextjs.org/docs/api-reference/next.config.js/introduction
66 * @see https://docs.sentry.io/platforms/javascript/guides/nextjs/
77 * @see https://blog.sentry.io/2020/08/04/enable-suspect-commits-unminify-js-and-track-releases-with-vercel-and-sentry
@@ -12,10 +12,9 @@ const withPlugins = require('next-compose-plugins')
1212const withGraphql = require ( 'next-plugin-graphql' )
1313
1414const moduleExports = {
15- future : { webpack5 : true } ,
1615 publicRuntimeConfig : {
17- dns : process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN
18- }
16+ dns : process . env . SENTRY_DSN || process . env . NEXT_PUBLIC_SENTRY_DSN ,
17+ } ,
1918}
2019
2120const SentryWebpackPluginOptions = {
Original file line number Diff line number Diff line change 1111 },
1212 "dependencies" : {
1313 "@sentry/nextjs" : " 6.13.2" ,
14- "next" : " 10.2.3 " ,
14+ "next" : " 11.1.2 " ,
1515 "react" : " 17.0.2" ,
1616 "react-dom" : " 17.0.2"
1717 },
1818 "devDependencies" : {
1919 "next-compose-plugins" : " 2.2.1" ,
2020 "next-plugin-graphql" : " 0.0.2" ,
21- "prettier" : " ^ 2.4.1"
21+ "prettier" : " 2.4.1"
2222 }
2323}
You can’t perform that action at this time.
0 commit comments