Skip to content

Commit 5f711fc

Browse files
authored
chore(gatsby): Add flags to GatsbyConfig interface (#28887)
1 parent a2d0ef8 commit 5f711fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/gatsby/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ export interface GatsbyConfig {
185185
siteMetadata?: Record<string, unknown>
186186
/** Plugins are Node.js packages that implement Gatsby APIs. The config file accepts an array of plugins. Some plugins may need only to be listed by name, while others may take options. */
187187
plugins?: Array<PluginRef>
188+
/** You can activate and deactivate current experiments here. These are experimental features that are currently under development and need testing. When opting in to an experiment you'll receive a console message with more information of what it does and a link to an umbrella discussion. */
189+
flags?: Record<string, boolean>
188190
/** It’s common for sites to be hosted somewhere other than the root of their domain. Say we have a Gatsby site at `example.com/blog/`. In this case, we would need a prefix (`/blog`) added to all paths on the site. */
189191
pathPrefix?: string
190192
/** In some circumstances you may want to deploy assets (non-HTML resources such as JavaScript, CSS, etc.) to a separate domain. `assetPrefix` allows you to use Gatsby with assets hosted from a separate domain */

0 commit comments

Comments
 (0)