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

WARNING in webpack performance recommendations (asset size limit) #34

Open
kfern opened this issue Jul 6, 2021 · 0 comments
Open

WARNING in webpack performance recommendations (asset size limit) #34

kfern opened this issue Jul 6, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@kfern
Copy link
Owner

kfern commented Jul 6, 2021

npm run build

phaser-redux@1.4.3 build /home/phaser-redux
webpack --config webpack/prod.js

asset project.bundle.js 1.07 MiB [emitted] [minimized] [big] (name: main) 1 related asset
asset ./index.html 431 bytes [emitted]
orphan modules 32.5 KiB [orphan] 9 modules
runtime modules 1.13 KiB 5 modules
modules by path ./node_modules/ 6.7 MiB 29 modules
modules by path ./src/ 11.9 KiB
./src/index.js + 4 modules 9.65 KiB [built] [code generated]
./src/scenes/game/logic/index.js 578 bytes [built] [code generated]
./src/scenes/game/logic/gameController.js 1.33 KiB [built] [code generated]
./src/scenes/game/logic/initialState.js 363 bytes [built] [code generated]

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (879 KiB).
This can impact web performance.
Assets:
project.bundle.js (1.07 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (879 KiB). This can impact web performance.
Entrypoints:
main (1.07 MiB)
project.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/

@kfern kfern added the help wanted Extra attention is needed label Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant