Closed Damien-Lev closed 5 months ago
I am also getting this same error
@Damien-Lev adding this to my webpack config fixes the issue
resolve: {
extensions: ['.css', '.js', '.jsx', '.tsx', '.ts', '.cjs'],
alias: {
'tailwindcss/resolveConfig': 'tailwindcss/resolveConfig.js',
},
},
The issue is also with Typescript. I added a path on compilerOptions in tsconfig.json but didn't work.
"paths": { "tailwindcss/resolveConfig": ["node_modules/tailwindcss/resolveConfig.js"] }
same issue on typescript!
Hello, i got this error :![image](https://github.com/aanckar/react-pdf-tailwind/assets/42603404/6b0b6d37-5647-4d9c-a4f7-6bbb3e6b4ab9)
i'm using symfony ux-react, with webpack-encore.
I'm maybe missing some configuration somewhere :'(
Here are some files that may be interesting to help me:
tailwind.config.js![image](https://github.com/aanckar/react-pdf-tailwind/assets/42603404/df334a31-2630-4fef-915a-362e07102937)
postcss.config.js![image](https://github.com/aanckar/react-pdf-tailwind/assets/42603404/4c45fc46-2efa-41d6-b224-2b877bf63cce)
webpack.config.js![image](https://github.com/aanckar/react-pdf-tailwind/assets/42603404/4ec5e77e-b227-4fb8-b584-ffc6f428654e)