tweag/asterius

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

Ouverte

#353 ouverte le 28 nov. 2019

 (0 commentaire) (0 réaction) (0 personne assignée)Haskell (56 forks)batch import
P2good first issuetype: feature request

Métriques du dépôt

Stars
 (1 949 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur