Skip to content

Conversation

@colinaaa
Copy link
Collaborator

@colinaaa colinaaa commented Nov 9, 2024

If no tailwind.config.js is provided, we will create a empty
configuration with only content that contains all the modules in the
module graph.

This should allow using this plugin with zero-configuration.

If no `tailwind.config.js` is provided, we will create a empty
configuration with only `content` that contains all the modules in the
module graph.

This should allow using this plugin with zero-configuration.
await writeFile(
configPath,
`\
existsSync(userConfig)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should throw an error when the userConfig is not the default path.

@colinaaa colinaaa merged commit aeaf6ae into main Nov 9, 2024
@colinaaa colinaaa deleted the zero-config branch November 9, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants