Closed kyplerdeloitte closed 1 year ago
@kyplerdeloitte I think you should probably open the issue on the gatsby-plugin-vanilla-extract for the gatsby integration.
The other starter guides with official integration (tested Vite, Next & Webpack) work as expected, you may also want to check my recent repro repo for another issue which uses VE + Next.js: https://github.com/janbiasi/repro-next-vanilla-extract-jest
Hi Jan, did you test the other integrations on my repo? (The ones you mentioned didn't work on my repo, for me atleast, just wondering if you got it to work) Cause I'm willing to use any bundler integration as long as I can get it to work.
I did not check your linked repository as I'm not sure what your thoughts were when you setup the repository. I'd recommend to just follow the Getting Started - Bundler Integration guide on the website, that's the easiest way.
If you still don't get it to work hit me up and I can provide you an example repo 😃
Describe the bug
I am unable to assign the styles (background: red) I created with "import {styles} from vanilla-extract/css" to a simple div with the text "Hello World". I tried using different bundler integrations (vite, webpack, gatsby and bagel) but I keep getting this same error:
Anyone have any idea why? been stuck on this problem for almost a week and would love to get started.
Reproduction
https://github.com/kyplerdeloitte/hello-world
System Info
Used Package Manager
npm
Logs
No response
Validations