Skip to content

Error in Gatsby - Styles detected outside of '.css.(ts/js)' files #200

Answered by mattcompiles
spaut asked this question in Q&A
Discussion options

You must be logged in to vote

Not being able to set allowRuntime is an issue with gatsby-plugin-vanilla-extract so I can't do a lot to help there. However, I don't think that's what you want. It sounds like you're calling style outside of a .css.ts file. But there could also be another issue. Impossible to tell without a replication to look at.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by mattcompiles
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