Commit 8899fb9
fix(@ngtools/webpack): skip transforming empty inline styles in Webpack JIT compilations
Empty styles break the Webpack resource loader / PostCSS and generate an error. Fortunately there's no work to be done there, so we can just skip it and leave the empty string.
(cherry picked from commit 7b02161)1 parent e259c1f commit 8899fb9
File tree
1 file changed
+5
-0
lines changed- packages/ngtools/webpack/src/transformers
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
239 | 244 | | |
240 | 245 | | |
241 | 246 | | |
| |||
0 commit comments