[Nice to Have] plugin should use webpack InfrastructureLogger and output report to compiler.outputFileSystem
Nessuno ha ancora preso questa issue.
- #477 di @wood1986 — chiusa senza merge
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, webpack
- Ambito
- build-system
Direzione di ricerca
Inizia in BundleAnalyzerPlugin.js tracciando come vengono emessi i messaggi del plugin e come viene scritto report.html durante le esecuzioni di webpack-dev-server. Esamina il test Jest esistente e le API del compilatore webpack, quindi verifica che il logging utilizzi InfrastructureLogger e che il report venga scritto tramite compiler.outputFileSystem senza apparire in dist.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Issue description
There are 2 issues for the plugin code(not bin/analyzer). Currently, it is not a bug but nice to have
BundleAnalyzerPlugin.jsshould use InfrastructureLogger from webpack compiler. When I run my jest test, there are some noise message from the plugin. See the following screenshot.

I can silent theconsole.logfor my jest test. But I have to write some to find the plugin in my sharedwebpack.config.jsand then replace the existing plugin with another one to silent log messages.- When I launch the webpack-dev-server, I expect my
distshould be empty. Currently it always has report.html. Other assets are in memfs. I have a jest test to check the folder is empty. Now I have to write more code to handle it differently

- Lingua principale
- JavaScript
- Stelle
- 12.7k
- Fork
- 514
- Merge medio
- 4g 17h
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di webpack/webpack-bundle-analyzer
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
webpack/webpack-bundle-analyzer#737 · 5 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
webpack/webpack-bundle-analyzer#689 · 9 commenti ·
-
[bug] `TypeError: Cannot read properties of undefined (reading 'filter')` when passing stats objectApertastatus: Needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
webpack/webpack-bundle-analyzer#669 · 6 commenti · 3 reazioni ·
-
No such label 'done hook' for WebpackLogger.timeEnd()Forse già presa @Srushti-33 l’ha presa 238 giorni fa. Apertaflag: Community help wanted good first issue Status: Ready for PR type: Bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
webpack/webpack-bundle-analyzer#499 · 6 commenti · 7 reazioni ·
-
flag: Community help wanted flag: Has reproduction case Status: Ready for PR type: Bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
webpack/webpack-bundle-analyzer#490 · 16 commenti · 5 reazioni ·
Tutte le issue di webpack/webpack-bundle-analyzer
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 67/100
Morni-Team/pkmessenger#44 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
status/needs-triage type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
PKU-YuanGroup/OpenAI4S#218 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
debpalash/VoiceStudio#2678 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 3 giorni