Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): the root Tailwind configuration f…
Browse files Browse the repository at this point in the history
…ile 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.
  • Loading branch information
ahasall authored and clydin committed Feb 8, 2021
1 parent a7ffce1 commit 1b5971a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
const fullPath = path.join(basePath, tailwindConfigFile);
if (fs.existsSync(fullPath)) {
tailwindConfigPath = fullPath;
break;
}
}
// Only load Tailwind CSS plugin if configuration file was found.
Expand Down

0 comments on commit 1b5971a

Please sign in to comment.