Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Nice to Have] plugin should use webpack InfrastructureLogger and output report to compiler.outputFileSystem #476

Open
@wood1986

Description

@wood1986

Issue description

There are 2 issues for the plugin code(not bin/analyzer). Currently, it is not a bug but nice to have

  1. BundleAnalyzerPlugin.js should use InfrastructureLogger from webpack compiler. When I run my jest test, there are some noise message from the plugin. See the following screenshot.
    image
    I can silent theconsole.log for my jest test. But I have to write some to find the plugin in my sharedwebpack.config.js and then replace the existing plugin with another one to silent log messages.
  2. When I launch the webpack-dev-server, I expect mydist should 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
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp