Skip to content

Conversation

@techfg
Copy link
Owner

@techfg techfg commented Sep 18, 2023

Mimicks the behavior that a build would experience running on Netlify by explicitly setting the adapter config property to gatsby-adapter-netlify .

When buliding on netlify, the process.env.NETLIFY evaluates to true so the gatsby-adapter-netlify adapter is used and the gatsby-plugin-netlify removed - there is no stock option to opt-out of the behavior.

Workarounds:

  1. Stay on < 5.12.0
  2. Implement a noop adapter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants