Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

parallel-webpack causes bundle-analyser create empty/broken stats file #85

Closed
@byara

Description

@byara

Explain the problem

I'm using parallel-webpack and webpack-bundle-analyser and it seems that parallel-webpack is causing webpack-bundle-analyser stop creating the reports midway so I sometimes end up with the correctly made stats or sometimes empty or invalid json files.
Might be related to: webpack-contrib/webpack-bundle-analyzer#152 (comment)

Expected Behaviour

to let webpack-bundle-analyser finish creating the report

Actual Behaviour

stops webpack-bundle-analyser from creating the reports causing indeterministic behavior

Steps to reproduce

has to be done on a large codebase with about 10 or more builds in parallel.

Provide your webpack config

Provide your Environment details

  • Node version:
    8.11.3
  • Operating System:
    macOS High Sierra
  • webpack version:
    ^4.17.1
  • parallel-webpack version:
    ^2.3.0

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