tweag/asterius

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

開放

#353 建立於 2019年11月28日

 (0 則留言) (0 個反應) (0 位負責人)Haskell (56 個分叉)batch import
P2good first issuetype: feature request

倉庫指標

星標
 (1,949 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南