tailwind v4 with parcel installation method is broken #15777
-
If I try to install tailwind v4 with parcel, following the steps mentioned in the official page, it throws the following error. @parcel/transformer-css: Unexpected token CloseSquareBracket /Users/vijaykrishnan/Desktop/Front_end_dev/tailwind_css_2/src/index.css:2117:11
Some basic functionality is broken. Please check |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Is the |
Beta Was this translation helpful? Give feedback.
-
Same here, any news? |
Beta Was this translation helpful? Give feedback.
I've just tried it out. Tailwind's automatic source detection will scan
node_modules
and find these invalid class-candidate look-alikes in thenode-addon-api
npm package and then ends up building some invalid CSS, causing the error.You can work around this by adding a
.gitignore
to the root of the project that ignoresnode_modules
.