Getting Sprinkles running in a Gatsby project #108
-
Hey, really interested to try
Here's a test repo demonstrating the issue: https://github.com/cycleseven/vanilla-extract-gatsby-test/
Here's essentially the same test in Codesandbox form. It's slightly flaky though, since it currently doesn't build, but with some luck you can see the same error message. I tried the same experiment in Typescript too, just in case that's behind it, but didn't have any luck there either. Is there anyone out there has Sprinkles working with Gatsby and can point out where I'm going wrong? 👼 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Tip: try explaining a bug to strangers to instantly understand it 😅 My project builds if I use
(Here's the working codebase: https://github.com/cycleseven/vanilla-extract-gatsby-test/tree/force-vanilla-extract-versions) So I think the dependency versions just need to be bumped in Edit: have submitted a PR to |
Beta Was this translation helpful? Give feedback.
Tip: try explaining a bug to strangers to instantly understand it 😅
My project builds if I use
resolutions
in mypackage.json
to force the latest versions of the@vanilla-extract/*
packages, eg.(Here's the working codebase: https://github.com/cycleseven/vanilla-extract-gatsby-test/tree/force-vanilla-extract-versions)
So I think the dependency versions just need to be bumped in
gatsby-plugin-vanilla-extract
.Edit: have submitted a PR to
gatsby-plugin-vanilla-extract
.