Closed meduzen closed 11 months ago
Path | Size | Loading time (3g) | Running time (snapdragon) | Total time |
---|---|---|---|---|
Everything | 284.56 KB (0%) | 5.7 s (0%) | 375 ms (+76.38% 🔺) | 6.1 s |
HTML | 4.4 KB (0%) | 88 ms (0%) | 0 ms (+100% 🔺) | 88 ms |
CSS | 3.58 KB (0%) | 72 ms (0%) | 0 ms (+100% 🔺) | 72 ms |
Fonts | 58.1 KB (0%) | 1.2 s (0%) | 0 ms (+100% 🔺) | 1.2 s |
Sounds (FLAC) | 77.82 KB (0%) | 1.6 s (0%) | 0 ms (+100% 🔺) | 1.6 s |
Sounds (WAV) | 121.02 KB (0%) | 2.5 s (0%) | 0 ms (+100% 🔺) | 2.5 s |
PR Summary
Updated Node Version for Continuous Integration and Application The versions of Node.js that we're using for our continuous integration (size checking) and our application itself have been updated to a newer version, 20. This will ensure that we're taking advantage of the latest features in Node.js.
Migration of Configuration Files to ES Modules The configuration files for our CSS processing (
postcss
) and Vue.js applications bundler (vite
) have been updated. They've been switched from using CommonJS module system to using the modern JavaScript ES modules. This change allows for better interoperability between modules and improves the overall structure of the code.Conditional Plugins based on Environment Furthermore, within the Vue.js application bundler configuration file, we've adjusted the way plugins are loaded. Now the system only includes certain plugins depending on whether it's running in a development or production environment. This reduces unnecessary load during development and enhances performance in production.
Server Configuration Enhanced to Apply Environment Variable The server configuration now checks if an environment variable
BROWSER_OPEN
is set to 'true' before deciding whether to automatically open up the browser when the server is started. Essentially, this gives us more control over the server's behavior which can be customized according to the environment.