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

show lazyCompilation information while compiling in the client overlay #4214

Open
sibelius opened this issue Jan 21, 2022 · 6 comments
Open

Comments

@sibelius
Copy link

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

@alexander-akait
Copy link
Member

What is information do you need?

@sibelius
Copy link
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

@alexander-akait
Copy link
Member

alexander-akait commented Jan 22, 2022

Do you want it in browser or in terminal?

@sibelius
Copy link
Author

Browser, webpack already show this info on the terminal

@sibelius
Copy link
Author

sibelius commented Dec 6, 2022

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

@alexander-akait
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants