Unverified Commit 5a00d622 authored by Obed Marquez Parlapiano's avatar Obed Marquez Parlapiano Committed by GitHub

Correct order of packages in Sentry example explanation (#15334)

parent d5c1addd
...@@ -16,8 +16,8 @@ process.env.SENTRY_DSN = SENTRY_DSN ...@@ -16,8 +16,8 @@ process.env.SENTRY_DSN = SENTRY_DSN
module.exports = withSourceMaps({ module.exports = withSourceMaps({
webpack: (config, options) => { webpack: (config, options) => {
// In `pages/_app.js`, Sentry is imported from @sentry/node. While // In `pages/_app.js`, Sentry is imported from @sentry/browser. While
// @sentry/browser will run in a Node.js environment, @sentry/node will use // @sentry/node will run in a Node.js environment. @sentry/node will use
// Node.js-only APIs to catch even more unhandled exceptions. // Node.js-only APIs to catch even more unhandled exceptions.
// //
// This works well when Next.js is SSRing your page on a server with // This works well when Next.js is SSRing your page on a server with
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment