tweag/asterius

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

Aperta

#353 aperta il 28 nov 2019

 (0 commenti) (0 reazioni) (0 assegnatari)Haskell (56 fork)batch import
P2good first issuetype: feature request

Metriche repository

Star
 (1949 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor