Skip to content

Commit 1b5971a

Browse files
ahasallclydin
authored andcommitted
fix(@angular-devkit/build-angular): the root Tailwind configuration file is always picked
A configuration file in the project root should take precedence over one in the workspace root, but it's not currently the case.
1 parent a7ffce1 commit 1b5971a

File tree

1 file changed

+1
-0
lines changed
  • packages/angular_devkit/build_angular/src/webpack/configs

1 file changed

+1
-0
lines changed

packages/angular_devkit/build_angular/src/webpack/configs/styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
166166
const fullPath = path.join(basePath, tailwindConfigFile);
167167
if (fs.existsSync(fullPath)) {
168168
tailwindConfigPath = fullPath;
169+
break;
169170
}
170171
}
171172
// Only load Tailwind CSS plugin if configuration file was found.

0 commit comments

Comments
 (0)