Skip to content

webpack-cli v4 doesn't have --profile option #408

@bradtgmurray

Description

@bradtgmurray

Issue description

webpack-cli v4 doesn't seem to have a --profile option anymore when working with webpack 4, and the --profile option with webpack 5 seems to have changed definition.

https://github.com/webpack/webpack-cli/blob/master/packages/webpack-cli/README.md

  --profile                                                   Capture timing information for each module.

Is there an updated way to capture a json stats file that we need to update the README.md of this project with?

Technical info

System:
OS: macOS 11.0.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 1.34 GB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm
npmPackages:
case-sensitive-paths-webpack-plugin: ^2.1.2 => 2.2.0
copy-webpack-plugin: ^6.3.2 => 6.3.2
nodemon-webpack-plugin: ^4.3.2 => 4.3.2
tsconfig-paths-webpack-plugin: ^3.2.0 => 3.2.0
webpack: ^4.41.5 => 4.41.5
webpack-bundle-analyzer: ^4.3.0 => 4.3.0
webpack-cli: ^4.2.0 => 4.2.0
webpack-manifest-plugin: 2 => 2.0.4
webpack-node-externals: ^2.5.2 => 2.5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions