andymatuschak / orbit

Experimental spaced repetition platform for exploring ideas in memory augmentation and programmable attention
https://withorbit.com
Other
1.71k stars 54 forks source link

Bundle the Sentry SDK (instead of using their CDN) #204

Open andymatuschak opened 3 years ago

andymatuschak commented 3 years ago

uBlock Origin prevents requests to Sentry's CDN for loading its library's JS (see #201). So we should bundle that library instead.

The problem is that I used their CDN instead of bundling so that we could load the library asynchronously, and avoid inflating the main bundles' sizes with this JS. And our build setup doesn't allow for async module imports right now (see #152). So this ticket is blocked on https://github.com/expo/expo-cli/issues/2881.