Skip to content

Commit 46e0547

Browse files
MeAkibalan-agius4
andauthored
fixup! fix(@schematics/angular): update the PostCSS configuration used by the build in tailwind
Co-authored-by: Alan Agius <alan.agius4@gmail.com>
1 parent 6735776 commit 46e0547

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 = Array.from(new Set([join('/', project.root), '/']));
98+
const searchPaths = [project.root, '/']; // Project root and workspace root
9999

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

0 commit comments

Comments
 (0)