You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to have some parts of the built tailwind.config file static? i.e. other than 'content' or 'plugins' can we specify some parts of the config file that we know won't change and so we can define this in another object and pass in, so that this is included when the file is built?
The text was updated successfully, but these errors were encountered:
I've solved this by using a tailwind.config.extended.js. You will need to update your other tools like ESLint/Prettier/PostCSS/... to use this config instead of the generated one
import baseConfig from './tailwind.config';
/**
* Extend the base config with customizations that are required
* for the project but are not returned from the tokens.
*
* This file will be imported by postcss and used to generate
* the final tailwind configuration.
*/
export default {
...baseConfig,
// overrides
}
Is there a way to have some parts of the built tailwind.config file static? i.e. other than 'content' or 'plugins' can we specify some parts of the config file that we know won't change and so we can define this in another object and pass in, so that this is included when the file is built?
The text was updated successfully, but these errors were encountered: