diff options
author | 2024-04-29 01:08:42 +0100 | |
---|---|---|
committer | 2024-04-29 01:08:42 +0100 | |
commit | ff9336e5f70e2edc9f5b11579458b03edc202105 (patch) | |
tree | 199b8c59662d4cda6d40c4d5568f2252d2098b14 | |
parent | Fill in domain in Gatsby config (diff) |
Add YAML transformer
-rw-r--r-- | gatsby-config.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gatsby-config.ts b/gatsby-config.ts index 3b74b94..fc79f31 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -28,7 +28,14 @@ const config: GatsbyConfig = { "path": "./src/pages/" }, __key: "pages" - }] + }, + `gatsby-transformer-yaml`, + { + resolve: `gatsby-source-filesystem`, + options: { + path: `./data/`, + }, + },] }; export default config; |