-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit 26127bd
committed
fix(@angular/build): resolve PostCSS plugins relative to config file
Previously, PostCSS plugins were resolved from the location of `@angular/build`. This caused issues when the PostCSS configuration file was located in a subdirectory and used plugins not hoisted to the root `node_modules`, as plugins would not be found.
This change updates the PostCSS configuration loading to resolve plugins relative to the directory containing the PostCSS configuration file. This ensures that plugins are correctly located regardless of the configuration files location.1 parent 982d6c5 commit 26127bd
File tree
4 files changed
+25
-14
lines changed- packages
- angular_devkit/build_angular/src/tools/webpack/configs
- angular/build/src
- tools/esbuild/stylesheets
- utils
4 files changed
+25
-14
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | - | ||
34 | + | ||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
Lines changed: 10 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | - | ||
12 | + | ||
13 | + | ||
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
72 | - | ||
73 | + | ||
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
| |||
215 | 216 |
| |
216 | 217 |
| |
217 | 218 |
| |
218 | - | ||
219 | + | ||
220 | + | ||
219 | 221 |
| |
220 | 222 |
| |
221 | 223 |
| |
222 | 224 |
| |
223 | 225 |
| |
224 | - | ||
225 | - | ||
226 | + | ||
227 | + | ||
228 | + | ||
229 | + | ||
230 | + | ||
226 | 231 |
| |
227 | 232 |
| |
228 | 233 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
74 | - | ||
75 | - | ||
76 | - | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
77 | 81 |
| |
78 | 82 |
| |
79 | 83 |
| |
| |||
101 | 105 |
| |
102 | 106 |
| |
103 | 107 |
| |
104 | - | ||
108 | + | ||
105 | 109 |
| |
106 | 110 |
| |
107 | 111 |
| |
| |||
119 | 123 |
| |
120 | 124 |
| |
121 | 125 |
| |
122 | - | ||
126 | + | ||
123 | 127 |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | + | ||
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
83 | 84 |
| |
84 | 85 |
| |
85 | 86 |
| |
86 | - | ||
87 | - | ||
88 | - | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
89 | 91 |
| |
90 | 92 |
| |
91 | 93 |
| |
|
0 commit comments