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