Evolve icon indicating copy to clipboard operation
Evolve copied to clipboard

[PR available] Size warnings in build

Open StoneCypher opened this issue 8 months ago • 0 comments

There are a series of unfortunate size warnings in the webpack build. These can be disabled.

PR inbound.

$ npm run build

> [email protected] build
> npx webpack --config webpack.evolve.prod.js && npx webpack --config webpack.wiki.prod.js

asset main.js 1.77 MiB [compared for emit] [minimized] [big] (name: main)
orphan modules 3.03 MiB [orphan] 23 modules
./src/main.js + 23 modules 3.56 MiB [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:
  main.js (1.77 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (1.77 MiB)
      main.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.76.1 compiled with 3 warnings in 13099 ms
asset wiki.js 1.87 MiB [compared for emit] [minimized] [big] (name: main)
orphan modules 3.66 MiB [orphan] 47 modules
./src/wiki/wiki.js + 47 modules 3.67 MiB [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:
  wiki.js (1.87 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (1.87 MiB)
      wiki.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.76.1 compiled with 3 warnings in 12686 ms

StoneCypher avatar Oct 31 '23 22:10 StoneCypher