Repository navigation
Commit 3ed2d03
committed
Enable error code transform per package
Currently we're not consistent about which packages should have their
errors minified in production and which ones should.
This adds a field to the bundle configuration to control whether to
apply the transform. We should decide what the criteria is going
forward. I think it's probably a good idea to minify any package that
gets sent over the network. So yes to modules that run in the browser,
and no to modules that run on the server and during development only.1 parent a6a6466 commit 3ed2d03
2 files changed
Lines changed: 70 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 183 | | |
189 | 184 | | |
190 | 185 | | |
| |||
195 | 190 | | |
196 | 191 | | |
197 | 192 | | |
198 | | - | |
199 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
200 | 196 | | |
201 | 197 | | |
202 | 198 | | |
| |||
390 | 386 | | |
391 | 387 | | |
392 | 388 | | |
393 | | - | |
| 389 | + | |
| 390 | + | |
394 | 391 | | |
395 | 392 | | |
396 | 393 | | |
| |||
0 commit comments