packages/angular/src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors.md
Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.
Remove tailwindConfig from the @nx/angular:ng-packagr-lite or @nx/angular:package executor options in project configuration.
{
"targets": {
"build": {
"executor": "@nx/angular:ng-packagr-lite",
"options": {
"project": "libs/lib1/ng-package.json",
"tailwindConfig": "libs/lib1/tailwind.config.js"
}
}
}
}
{
"targets": {
"build": {
"executor": "@nx/angular:ng-packagr-lite",
"options": {
"project": "libs/lib1/ng-package.json"
}
}
}
}
Remove tailwindConfig from the @nx/angular:ng-packagr-lite or @nx/angular:package executor target defaults in nx.json.
{
"targetDefaults": {
"@nx/angular:ng-packagr-lite": {
"options": {
"project": "{projectRoot}/ng-package.json",
"tailwindConfig": "{projectRoot}/tailwind.config.js"
}
}
}
}
{
"targetDefaults": {
"@nx/angular:ng-packagr-lite": {
"options": {
"project": "{projectRoot}/ng-package.json"
}
}
}
}