@sentry/wizard 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.0
4
+
5
+ - ref(nextjs): Default to hiding source maps in nextjs config (#188)
6
+
3
7
  ## 2.1.0
4
8
 
5
- - feat(rn): Add support for RN TypeScript and other templates
9
+ - feat(react-native): Add support for RN TypeScript and other templates
6
10
 
7
11
  ## 2.0.2
8
12
 
@@ -7,6 +7,16 @@ const { withSentryConfig } = require('@sentry/nextjs');
7
7
 
8
8
  const moduleExports = {
9
9
  // Your existing module.exports
10
+
11
+ sentry: {
12
+ // Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
13
+ // for client-side builds. (This will be the default starting in
14
+ // `@sentry/nextjs` version 8.0.0.) See
15
+ // https://webpack.js.org/configuration/devtool/ and
16
+ // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
17
+ // for more information.
18
+ hideSourceMaps: true,
19
+ },
10
20
  };
11
21
 
12
22
  const sentryWebpackPluginOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/wizard",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "homepage": "https://github.com/getsentry/sentry-wizard",
5
5
  "repository": "https://github.com/getsentry/sentry-wizard",
6
6
  "description": "Sentry wizard helping you to configure your project",
@@ -7,6 +7,16 @@ const { withSentryConfig } = require('@sentry/nextjs');
7
7
 
8
8
  const moduleExports = {
9
9
  // Your existing module.exports
10
+
11
+ sentry: {
12
+ // Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
13
+ // for client-side builds. (This will be the default starting in
14
+ // `@sentry/nextjs` version 8.0.0.) See
15
+ // https://webpack.js.org/configuration/devtool/ and
16
+ // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-hidden-source-map
17
+ // for more information.
18
+ hideSourceMaps: true,
19
+ },
10
20
  };
11
21
 
12
22
  const sentryWebpackPluginOptions = {