Build Error
Answered
Exotic Shorthair posted this in #help-forum
Original message was deleted.
5 Replies
Can you provide a screenshot of where your globals.css is located?
import "@/styles/globals.css"try using this.
Answer
@Jboncz `import "@/styles/globals.css"`
try using this.
Exotic Shorthair
it worked, but can you explain why?
import '@styles/globals.css'; used to work for me well@Exotic Shorthair for archival purposes please avoid deleting the original question unless strictly necessary, such as when the question contains secrets (that you should have never posted in the first place)
@Exotic Shorthair it worked, but can you explain why?
js
import '@styles/globals.css';
used to work for me well
this is because in your tsconfig you have
@/* which only matches paths starting with @/