From 17c85fa36fe6ee0dbb896d7f0c78b91434e380b3 Mon Sep 17 00:00:00 2001 From: Jon Espen Kvisler Date: Fri, 3 Sep 2021 08:01:10 +0200 Subject: [PATCH] Use partial type for SentryWebpackPluginOptions This matches the expected type in https://github.com/getsentry/sentry-javascript/blob/e71454ef781563e36c727315d1a5b59acb9e2e0a/packages/nextjs/src/config/webpack.ts#L38 --- examples/with-sentry/next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-sentry/next.config.js b/examples/with-sentry/next.config.js index 5ccbe6aa28ba..b07cd48eb32d 100644 --- a/examples/with-sentry/next.config.js +++ b/examples/with-sentry/next.config.js @@ -9,7 +9,7 @@ const moduleExports = { // Your existing module.exports } -/** @type {import('@sentry/nextjs/dist/config/types').SentryWebpackPluginOptions} */ +/** @type {Partial} */ const SentryWebpackPluginOptions = { // Additional config options for the Sentry Webpack plugin. Keep in mind that // the following options are set automatically, and overriding them is not