You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./bin/webpack --watch --colors --progress
[webpack-cli] Error: Unknown option '--colors'
[webpack-cli] Run 'webpack --help' to see available commands and options
Also, colors seems enabled by default
It may be also worth to note that ./bin/webpack --help does not work anymore
Webpacker v6
$ ./bin/webpack --help
[webpack-cli] Incorrect use of help
[webpack-cli] Please use: 'webpack help [command] [option]' | 'webpack [command] --help'
[webpack-cli] Run 'webpack --help' to see available commands and options
Ok I did some tests. Colors are enabled by default in Webpack 5, but we can disable them with --no-color and remove --color (note that is singular now) from your command.
The help command changed a lot between Webpack 4 and 5. I opened a PR to allow usage of these commands: #3144
https://github.com/rails/webpacker/blame/master/README.md#L214
Also,
colors
seems enabled by defaultIt may be also worth to note that
./bin/webpack --help
does not work anymoreWebpacker v6
Webpacker v5
The text was updated successfully, but these errors were encountered: