Commit 05a894e
committed
perf(build): Reserve 'Sentry' name, do not compress toplevel
This prevents the terser mangle option from mangling the 'Sentry' name, and
avoids a terser bug where our top-level 'var Sentry=' gets stripped.
Less bundle size reduction, but it's of course important to still export the
Sentry object.1 parent d025e6b commit 05a894e
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | 148 | | |
150 | 149 | | |
151 | 150 | | |
| |||
0 commit comments