App: minify build pass
See original GitHub issueWe should find a way to do a build process via Github Actions to ship our code minified.
It could be whatever packing solution, but note that our code is pure HTML5/ES6 import and we should keep it working like that on the dev env. I.e. no WDS.
The build process should merely bundle and minify app.js
and change the index.html
entry point or something. Source maps for production should work.
Note that some things technically would be hard to minify, like our geometry manager, which is a non-ES6 PhysX WASM loader script. I would leave that part unminified for now.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
npm run build without any minification · Issue #6643 - GitHub
So my suggestion is: Provide a way to e.g. pass --dev or so to npm run build , so I can get a...
Read more >Optimizing Performance - React
If you're benchmarking or experiencing performance problems in your React apps, make sure you're testing with the minified production build.
Read more >Minimizing Bundle Sizes in React - YouTube
How to Minimize Bundle Size in React? In this screencast, we'll be looking at how to speed up your React app by shrinking...
Read more >Angular 7 minify assets with ng build --prod - Stack Overflow
build.scripts in angular.json but I have some .js files that should not be bundled with angular app. Scripts that are executed before angular ......
Read more >Minifying - SurviveJS
Minification process analyzes your source code and turns it into a smaller form with the same meaning if you use safe transformations. ·...
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
some progress in this PR here: https://github.com/webaverse/app/pull/837 I’m stuck on the dynamic imports in runtime.js: https://github.com/webaverse/app/blob/master/runtime.js#L806
@ChristopherTrimboli Can you PR anything you had here and link it up to the issue?