Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension should ignore purge option #131

Closed
bradlc opened this issue Jun 20, 2020 · 0 comments
Closed

Extension should ignore purge option #131

bradlc opened this issue Jun 20, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@bradlc
Copy link
Contributor

bradlc commented Jun 20, 2020

I've also updated everything and found a curious anomaly... When using npx tailwind init to create a tailwind.config.js file, the purge property accepts an array. However it's an object in the tailwind docs so we start with purge: [], at the top of the file and with all other changes everything works fine. But as soon as we want to force a purge (according to the tailwind docs by setting purge to true inside an purge object) like this

purge {
  enabled: true
},
// ... other settings here

the tailwind intellisense plugin stops providing suggestions. What's more... when you revert purge back to an empty array (i.e. what you started with), it takes a VS Code reload/restart for intellisense to start providing suggestions again.

Curious! Hope that helps to debug.

Originally posted by @gavinworks in #130 (comment)

@bradlc bradlc added the bug Something isn't working label Jun 20, 2020
bradlc added a commit that referenced this issue Jun 20, 2020
@bradlc bradlc closed this as completed Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant