question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use production build for walt-explorer

See original GitHub issue

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 😛

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
randy7d0commented, Oct 26, 2018

I have created the following pull request, please help to review it. Thanks! https://github.com/ballercat/walt/pull/170

1reaction
randy7d0commented, Oct 28, 2018

I have updated based on feedback. Please have a look again. Thanks! https://github.com/ballercat/walt/pull/170#pullrequestreview-169071224

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a Production Build - Create React App
Creating a Production Build. npm run build creates a build directory with a production build of your app. Inside the build/static directory ...
Read more >
Reactjs Build Production: Optimize Performance - CopyCat Blog
In this article, we will be taking a deep dive into the Reactjs build production, deployment, and tips on optimising your app's performance....
Read more >
Create-react-app production build being recognized as ...
When I run the build script, I don't get any errors and everything seems to compile successfully. I'm using webpack version 5.64.4.
Read more >
Optimizing Performance - React
Nevertheless, there are several ways you can speed up your React application. Use the Production Build. If you're benchmarking or experiencing performance ...
Read more >
Building for Production - Vite
When it is time to deploy your app for production, simply run the vite build command. By default, it uses <root>/index.html as the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found