This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Commit dbc52d0
fix(build): prevent closure from stripping $inject annotations (#9765)
Adds a config that will turn instances of `something.$inject` into `something['$inject']`.
This helps in cases where Closure strips the injector due to the object annotation having a `@constructor` directive.
Note that the regular JS builds have the same output as before.
Fixes #9758.1 parent af041da commit dbc52d0
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
| |||
0 commit comments