Skip to content

show lazyCompilation information while compiling in the client overlay #4214

Description

@sibelius

Feature Proposal

I'd like to provide some feedback to developers while webpack is compiling when using lazyCompilation experimental feature

Feature Use Case

just improve the dx, not thinking that something is broken

Please paste the results of npx webpack-cli info here, and mention other relevant information

System:
OS: macOS 12.1
CPU: (4) x64 Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
Memory: 63.11 MB / 16.00 GB
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.17 - ~/Dev/entria/feedback/feedback-admin/node_modules/.bin/yarn
npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
Monorepos:
Yarn Workspaces: 1.22.17
Lerna: 4.0.0
Packages:
eslint-import-resolver-webpack: 0.13.2 => 0.13.2
webpack-merge: 5.8.0 => 5.8.0
webpack-node-externals: 3.0.0 => 3.0.0

Activity

  1. alexander-akait commented on Jan 21, 2022

    @alexander-akait
    Member

    What is information do you need?

  2. sibelius commented on Jan 21, 2022

    @sibelius
    Author
    • lazy compilation is compiling this
    • maybe a simple loading that does not block developer interaction with other chunks already loaded
    • or a progress bar

    image

  3. alexander-akait commented on Jan 22, 2022

    @alexander-akait
    Member

    Do you want it in browser or in terminal?

  4. sibelius commented on Jan 22, 2022

    @sibelius
    Author

    Browser, webpack already show this info on the terminal

  5. sibelius commented on Dec 6, 2022

    @sibelius
    Author

    how can I implement this? where is the best place to put this code?

  6. alexander-akait commented on Dec 6, 2022

    @alexander-akait
    Member

    Need to look how to get/hook information about compilation and send it to our overlay, but I think we already sent stats to client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions