Skip to content

Send console output to STDERR? #237

Description

@inversion

The plugin appears to send all its logs to STDOUT rather than STDERR (ie. as it would using console.error). This breaks webpack --json > stats.json. Is there any support for changing the log messages to STDERR?

Technical info

  • Webpack Bundle Analyzer version: 3.0.3
  • Webpack version: 4.28.0
  • Node.js version: 10
  • OS: OSX

Debug info

How do you use this module? As CLI utility or as plugin? As a plugin

If CLI, what command was used? (e.g. webpack-bundle-analyzer -O path/to/stats.json)

If plugin, what options were provided? (e.g. new BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true }))

What other Webpack plugins were used? None

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions