Use production build for walt-explorer
See original GitHub issueFeature 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:
- Created 5 years ago
- Reactions:2
- Comments:10 (9 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have created the following pull request, please help to review it. Thanks! https://github.com/ballercat/walt/pull/170
I have updated based on feedback. Please have a look again. Thanks! https://github.com/ballercat/walt/pull/170#pullrequestreview-169071224