gatsby-source-filesystem no longer accepts functions as ignore rule #27848
Labels
topic: plugins
Related to plugin system, themes & catch-all for plugins that don't have a label
type: bug
An issue or pull request relating to a bug in Gatsby
Hey there,
using functions for the ignore rule in gatsby-source-filesystem was working fine till the recently released plugin options validation:
source-filesystem uses chokidar/anymatch and they support regex and function ignores next to strings:
I guess the only thing to do is to extend the following plugin validation config:
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/src/gatsby-node.js#L160
The text was updated successfully, but these errors were encountered: