Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve webpack performance and build artifact sizes #75

Open
kelzenberg opened this issue Jan 11, 2024 · 0 comments
Open

Improve webpack performance and build artifact sizes #75

kelzenberg opened this issue Jan 11, 2024 · 0 comments
Labels
Bug Something isn't working Nice to Have Nice to have but not crucial for MVP

Comments

@kelzenberg
Copy link
Owner

kelzenberg commented Jan 11, 2024

assets by status 1.41 MiB [cached] 14 assets
assets by status 3.45 MiB [compared for emit]
  assets by path js/*.js 3.44 MiB
    asset js/plotly.min.js 3.44 MiB [compared for emit] [from: ../../node_modules/plotly.js-dist-min/plotly.min.js] [copied] [minimized] [big]
    asset js/webcomponents-loader.js 2.62 KiB [compared for emit] [from: ../../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js] [copied] [minimized]
  assets by path *.html 6.16 KiB
    asset simulation.html 4.71 KiB [compared for emit] (name: __bundler-plugin-entry__simulation)
    asset index.html 1.45 KiB [compared for emit] (name: __bundler-plugin-entry__index)
  assets by path css/*.css 4.63 KiB
    asset css/simulation.f70ec607.css 4 KiB [compared for emit] (name: __bundler-plugin-entry__simulation)
    asset css/index.8929846e.css 648 bytes [compared for emit] (name: __bundler-plugin-entry__index)
runtime modules 8.83 KiB 15 modules
orphan modules 1.23 MiB [orphan] 9 modules
cacheable modules 1.26 MiB (javascript) 475 KiB (asset)
  javascript modules 1.25 MiB
    modules by path ./src/js/ 1.24 MiB 6 modules
    modules by path ./src/*.html 7.69 KiB 2 modules
    modules by path ./src/styling/*.css 6.04 KiB 2 modules
  asset modules 378 bytes (javascript) 475 KiB (asset)
    modules by path ./src/ressources/misc/ 294 bytes (javascript) 147 KiB (asset) 7 modules
    modules by path ./src/ressources/fonts/*.ttf 84 bytes (javascript) 328 KiB (asset)
      ./src/ressources/fonts/Roboto-Light.ttf 42 bytes (javascript) 163 KiB (asset) [built] [code generated]
      ./src/ressources/fonts/Roboto-Medium.ttf 42 bytes (javascript) 165 KiB (asset) [built] [code generated]

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  js/plotly.min.js (3.44 MiB)
  js/sockets.e7abbd3d.js (481 KiB)
  js/simulation.7dad654d.js (483 KiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  sockets (481 KiB)
      js/sockets.e7abbd3d.js
  simulation (483 KiB)
      js/simulation.7dad654d.js


WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
@kelzenberg kelzenberg added the Bug Something isn't working label Jan 11, 2024
@kelzenberg kelzenberg added this to the 🪛 Fine-tune frontend milestone Jan 11, 2024
@kelzenberg kelzenberg added the Nice to Have Nice to have but not crucial for MVP label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Nice to Have Nice to have but not crucial for MVP
Projects
None yet
Development

No branches or pull requests

1 participant