mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
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.
This commit is contained in:
parent
a7ffce10ee
commit
1b5971a0bc
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user