GoogleChromeLabs / proxx

A game of proximity
https://proxx.app
Apache License 2.0
1.32k stars 124 forks source link

I broke ff48 #363

Closed jakearchibald closed 5 years ago

jakearchibald commented 5 years ago

This fixes it.

kosamari commented 5 years ago

Out of curiosity, what's the difference in importing comlink & comlink/src/comlink

jakearchibald commented 5 years ago

Importing comlink goes straight for the dist version, and therefore Typescript doesn't transpile it. It contained an async function so FF48 died.

Importing comlink/src/comlink gives us the TypeScript so it transpiles the async function.