ballercat/walt

Use production build for walt-explorer

Open

#128 opened on Jul 9, 2018

View on GitHub
 (10 comments) (2 reactions) (0 assignees)JavaScript (4,637 stars) (155 forks)batch import
good first issuehelp wantedmeta

Description

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

Contributor guide