Skip to content

Getting Sprinkles running in a Gatsby project #108

Answered by cycleseven
cycleseven asked this question in Q&A
Discussion options

You must be logged in to vote

Tip: try explaining a bug to strangers to instantly understand it 😅

My project builds if I use resolutions in my package.json to force the latest versions of the @vanilla-extract/* packages, eg.

  "resolutions": {
    "@vanilla-extract/babel-plugin": "0.4.0",
    "@vanilla-extract/css": "0.4.3",
    "@vanilla-extract/webpack-plugin": "0.3.0"
  },

(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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mattcompiles
Comment options

Answer selected by cycleseven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants