Falsy values in tailwind config trigger class not found
See original GitHub issueHello there,
First of all, thanks for this library. Even though it’s still young, it is showing promising things and I’m eager to see future releases !
I’m posting due to a weird issue I’m encountering on my GatsbyJS project. I have setup a project as stated in the docs, and am using Twin with Emotion.
I’ve customized the “inset” section of my Tailwind theme as is :
inset: { '0': 0, auto: 'auto', 'icon-offset': '19px', }
From time to time, I don’t know why it doesn’t always occur, I’m getting this error message and my bundle no longer builds :
Generating development JavaScript bundle failed
<hidden location>/frontend/src/mixins/Forms.ts:
✕ inset-y-0 was not found
Did you mean inset-y-0?
File: src/mixins/Forms.ts
I’ve tried restarting the dev server, clearing the .cache folder inside node_modules, nothing helps. I can sometimes get rid of the error by removing all inset classes from the incriminated file and let livereloading do its job.
Any ideas why this happens ? Let me know if I can help you with anything by providing you any specific details.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
This bug was fixed in v1.0.0 🎉
If I can help you testing your fix, don’t hesitate to sollicitate me 😃