ballercat/walt

Use production build for walt-explorer

開放

#128 建立於 2018年7月9日

 (10 則留言) (2 個反應) (0 位負責人)JavaScript (119 個分叉)batch import
good first issuehelp wantedmeta

倉庫指標

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

描述

Feature Request

Build the explorer website with production settings before putting it on-line

Overview

Currently the walt-explorer is using the dev build on the website. As a result, it's a 5mb JS file. I'm pretty sure it can be reduced to a fraction of that (not to mention run significantly faster) by instructing webpack to create a production build before publishing it on the website.

Perhaps the the minification pluginsbreak the walt code, but you should be able to run webpack without them and even then it will improve the payload.

Impact

Small to medium. Mostly it's just ironic to have a bloated website for a tool to make low-level fast WASM :P

貢獻者指南