From 7bd2591366ca47736791b58a24d94f1e5a5b6f39 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Thu, 5 Sep 2024 10:53:26 +0000 Subject: [PATCH] fix(gatsby): Fix assets path for sourcemaps upload --- packages/gatsby/gatsby-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/gatsby-node.js b/packages/gatsby/gatsby-node.js index d60914a03061..de88ee73adc0 100644 --- a/packages/gatsby/gatsby-node.js +++ b/packages/gatsby/gatsby-node.js @@ -12,7 +12,7 @@ exports.onCreateWebpackConfig = ({ getConfig, actions }, options) => { sentryWebpackPlugin({ sourcemaps: { // Only include files from the build output directory - assets: ['public'], + assets: ['./public/**'], // Ignore files that aren't users' source code related ignore: [ 'polyfill-*', // related to polyfills