Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bradtgmurray opened this issue Dec 23, 2020 · 1 comment
Open

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

bradtgmurray opened this issue Dec 23, 2020 · 1 comment

Comments

@bradtgmurray
Copy link

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

@bradtgmurray
Copy link
Author

I've gotten it to work again by swapping --profile --json to --stats=detailed --json but I'm not sure if that's the canonical way of doing it.

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

No branches or pull requests

2 participants