Skip to content

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

Open
@kfern

Description

@kfern

npm run build

[email protected] 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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions