onesine / react-tailwindcss-select

Tailwind Select Component for React.js
https://demo-react-tailwindcss-select.vercel.app/
MIT License
183 stars 38 forks source link

PostCss Error #20

Closed nhuethmayr closed 1 year ago

nhuethmayr commented 1 year ago

Hi,

when adding the following line to my tailwind.config.js file, my next app no longer compiles. "./node_modules/react-tailwindcss-select/dist/index.esm.js"

The error I'm seeing is as follows

error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.cssSyntaxError: Unexpected token (8:4)

image

Have you seen this before?

nhuethmayr commented 1 year ago

This item can be closed. It started working after recompiling...