Closed shellwhale closed 5 months ago
I'm not able to reproduce this behavior — but I suspect if you change the file to this it'll probably work:
import config from '../configs/tailwind/tailwind.config'
export default config
Do you have a reproduction you can share?
Closing due to inactivity. If you're able to provide a reproduction though please do and I'll take a look.
What version of VS Code are you using? v1.85.1 What version of Tailwind CSS IntelliSense are you using? v0.10.5 What version of Tailwind CSS are you using? v3.3.6 What package manager are you using? pnpm What operating system are you using? Windows 10
Tailwind config located in packages/configs/tailwind.config.js
Tailwind config located in packages/ui/tailwind.config.js
The IntelliSense doesn't work when acquiring a tailwind configuration using the
require()
function. The IntelliSense works correctly if the former configuration file listed above is used plainly (without usingmodule.exports = require('../configs/tailwind/tailwind.config');