Skip to content

Commit 8462bbf

Browse files
committed
fixup! fix(@angular/build): rebuild stylesheets when files are added to a PostCSS directory dependency
1 parent fc11e53 commit 8462bbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/angular/build/src/tools/esbuild/load-result-cache.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class MemoryLoadResultCache implements LoadResultCache {
111111
let invalid = false;
112112

113113
// Check parent directories to support directory dependencies (PostCSS `dir-dependency`)
114-
let current = path;
114+
let current = normalize(path);
115115
while (true) {
116116
const affectedPaths = this.#fileDependencies.get(current);
117117
if (affectedPaths) {

0 commit comments

Comments
 (0)