ballercat / walt

:zap: Walt is a JavaScript-like syntax for WebAssembly text format :zap:
https://ballercat.github.io/walt/
MIT License
4.64k stars 122 forks source link

Don't minify the JS of the examples in Walt Explorer #176

Open JobLeonard opened 5 years ago

JobLeonard commented 5 years ago

Bug Report

Overview

The JS section of the Walt explorer is now minified, which makes it impossible to understand how it connects the WASM to the rest of the browser environment at a glance:

Expected

Show example code

Actual

Show mangled, minified example code

Example

image

JobLeonard commented 5 years ago

(Sorry, forgot to remove the HTML comment tag - fixed now)

ballercat commented 5 years ago

Yuup.

Might need to switch to plain strings for all the JS setup code. Or just use observable for all demos :)

JobLeonard commented 5 years ago

Or just use observable for all demos :)

If I didn't have obligations I would spend all day on that website. Maybe I can port some stuff over in the weekend :P