tweag/asterius

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

Open

#353 opened on Nov 28, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Haskell (56 forks)batch import
P2good first issuetype: feature request

Repository metrics

Stars
 (1,949 stars)
PR merge metrics
 (No merged PRs in 30d)

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.

Contributor guide