tweag/asterius

Drop `npm-utils` and provide pre-bundled runtime

Offen

#353 geöffnet am 28.11.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (56 Forks)batch import
P2good first issuetype: feature request

Repository-Metriken

Stars
 (1.949 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Following #338, we should be able to avoid running parcel at link-time and instead ship a pre-bundled rts.js. Some minor adjustments in the js codegen, and the browser backend can take advantage of rts.js and use it to initialize multiple instances at once.

Besides improving linking speed, this also means we can drop npm-utils, which uses a custom Setup.hs to do npm install...which is definitely not a good thing.

Contributor Guide