gatsby-transformer-remark doesn't accept "engines" plugin option for graymatter #38879
Open
2 tasks done
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
From the Gatsby docs for
gatsby-transformer-remark
:One of the
gray-matter
options isoptions.engines
. However, when I supply theengines
field onto thegatsby-transformer-remark
options like so:Gatsby throws a warning on build:
warn Warning: there are unknown plugin options for "gatsby-transformer-remark": engines Please open an issue at https://ghub.io/gatsby-transformer-remark if you believe this option is valid.
This should work and I am therefore filing this issue.I also see the
engines
option is entirely missing from the Joi data validation schema ofgatsby-transformer-remark
in itsgatsby-node
:Reproduction Link
https://codesandbox.io/p/devbox/withered-snow-c4lrxc
Steps to Reproduce
gatsby-transformer-remark
options ingatsby-config
Expected Result
No warning for custom engines for
gatsby-transformer-remark
Actual Result
I received a build warning:
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: