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

Bundle sizes are large, reduce them #72

Open
TWiStErRob opened this issue Sep 12, 2021 · 1 comment · Fixed by #71
Open

Bundle sizes are large, reduce them #72

TWiStErRob opened this issue Sep 12, 2021 · 1 comment · Fixed by #71
Labels
in:web In Angular web UI is:enhancement New feature or request

Comments

@TWiStErRob
Copy link
Owner

TWiStErRob commented Sep 12, 2021

P:\projects\workspace\Cineworld Cinema\Heroku\frontend>npm run build-prod

> twisterrob-cinema-web-frontend@ build-prod P:\projects\workspace\Cineworld Cinema\Heroku\frontend
> webpack --config webpack.config.js --mode=production --progress

Running in mode: production; deploying to P:\projects\workspace\Cineworld Cinema\Heroku\deploy.
assets by status 212 KiB [cached] 6 assets
assets by path planner-old/ 117 KiB
  assets by status 89.9 KiB [emitted] 8 assets
  assets by status 26.8 KiB [compared for emit]
    assets by path planner-old/images/ 17.9 KiB 3 assets
    assets by path planner-old/styles/*.css 3.57 KiB
      asset planner-old/styles/global.css 1.8 KiB [compared for emit] [from: src/old/styles/global.css] [copied]
      asset planner-old/styles/planner.css 1.77 KiB [compared for emit] [from: src/old/styles/planner.css] [copied]
    asset planner-old/index.html 5.32 KiB [compared for emit] [from: src/old/index.html] [copied]
assets by path planner/ 919 KiB
  asset planner/index.bundle.js 748 KiB [emitted] [minimized] [big] (name: planner/index) 1 related asset
  asset planner/index.css 153 KiB [emitted] (name: planner/index)
  asset planner/index.html 18.5 KiB [emitted]
asset index.html 467 bytes [emitted]
Entrypoint planner/index [big] 900 KiB (212 KiB) = planner/index.css 153 KiB planner/index.bundle.js 748 KiB 6 auxiliary assets
orphan modules 5.62 KiB [orphan] 5 modules
runtime modules 1010 bytes 5 modules
modules by path ./node_modules/moment/locale/*.js 499 KiB 135 modules
modules by path ./src/planner/ 63.9 KiB (javascript) 10.1 KiB (css/mini-extract) 28 modules
modules by path ./node_modules/angular/*.js 1.31 MiB 2 modules
modules by path ./node_modules/angular-resource/*.js 37.3 KiB
  ./node_modules/angular-resource/index.js 62 bytes [built] [code generated]
  ./node_modules/angular-resource/angular-resource.js 37.2 KiB [built] [code generated]
modules by path ./node_modules/angular-animate/*.js 153 KiB
  ./node_modules/angular-animate/index.js 60 bytes [built] [code generated]
  ./node_modules/angular-animate/angular-animate.js 153 KiB [built] [code generated]
modules by path ./node_modules/angular-ui-bootstrap/ 270 KiB
  ./node_modules/angular-ui-bootstrap/index.js 71 bytes [built] [code generated]
  ./node_modules/angular-ui-bootstrap/dist/ui-bootstrap-tpls.js 270 KiB [built] [code generated]
5 modules

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  planner/index.bundle.js (748 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:
  planner/index (900 KiB)
      planner/index.css
      planner/index.bundle.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/

webpack 5.52.1 compiled with 3 warnings in 8027 ms

WIP branch, at a roadblock: chunks

@TWiStErRob TWiStErRob added is:enhancement New feature or request in:web In Angular web UI labels Sep 12, 2021
@TWiStErRob
Copy link
Owner Author

@TWiStErRob TWiStErRob linked a pull request Sep 12, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:web In Angular web UI is:enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant