ballercat/walt

Use production build for walt-explorer

Open

#128 建立於 2018年7月9日

在 GitHub 查看
 (10 留言) (2 反應) (0 負責人)JavaScript (4,637 star) (155 fork)batch import
good first issuehelp wantedmeta

描述

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

貢獻者指南