We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0cded9 + 81b3108 commit 895ff7eCopy full SHA for 895ff7e
gatsby-config.js
@@ -308,7 +308,19 @@ module.exports = {
308
name: "collections",
309
},
310
311
- "gatsby-plugin-sharp",
+ {
312
+ resolve: "gatsby-plugin-sharp",
313
+ options: {
314
+ ignorePathRegex: [
315
+ // /originals\//, // any path containing /originals/
316
+ /src\/collections\/integrations\//,
317
+ // /legacy/, // containing "legacy"
318
+ // /^.*\/_unused\/.*$/, // regex for folders starting with _
319
+ /\.(pdf|ai|svg)$/i, // files ending with .psd or .ai
320
+ ],
321
+ defaults: {}
322
+ },
323
324
"gatsby-transformer-sharp",
325
{
326
resolve: "gatsby-source-filesystem",
0 commit comments