Skip to content

Commit 70843cb

Browse files
fixup! fix(@schematics/angular): update the PostCSS configuration used by the build in tailwind
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 46e0547 commit 70843cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/schematics/angular/tailwind

‎packages/schematics/angular/tailwind/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function addTailwindStyles(options: { project: string }, project: ProjectDefinit
9595

9696
function managePostCssConfiguration(project: ProjectDefinition): Rule {
9797
return async (tree) => {
98-
const searchPaths = [project.root, '/']; // Project root and workspace root
98+
const searchPaths = Array.from(new Set([join('/', project.root), '/']));
9999

100100
for (const path of searchPaths) {
101101
for (const configFile of POSTCSS_CONFIG_FILES) {

0 commit comments

Comments
 (0)