Skip to content

Don't print info when running webpack --json #101

@geirsagberg

Description

@geirsagberg

Version: 0.3.0

Running webpack --profile --json currently produces the following when fork-ts-checker-webpack-plugin is included:

Starting type checking service...
Using �[1m1 worker�[22m with �[1m2048MB�[22m memory limit
{
  "errors": [],
  "warnings": [],
  "version": "3.10.0",
  "hash": "8c0541347f7cefe0876b",
...

The first two lines cause e.g. webpack-bundle-analyzer to fail.

When webpack is ran with --json, nothing should be written to console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions