This repository was archived by the owner on May 1, 2020. It is now read-only.
Commit fa5e52c
feature(webpack): Propagate errors from webpack stats (#871)
* Propagate errors from webpack stats
Prior to this patch, the script would only raise errors raised directly
by webpack and skip errors raised from the compilation. This is contrary
to what webpack suggests in terms of error handling[1].
This patch makes it so that any compilation errors will cause ionic to
also abort the build, while any compilation warnings will log a warning
through ionic's Logger.
* Update webpack.ts1 parent 547dc65 commit fa5e52c
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
145 | 157 | | |
146 | 158 | | |
147 | 159 | | |
| |||
0 commit comments