Skip to content

Docs: --colors is not a valid options in webpack 5 #3138

@tagliala

Description

@tagliala

https://github.com/rails/webpacker/blame/master/README.md#L214

$ ./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

Webpacker v5

$ bin/webpack --help
webpack-cli 3.3.12

Usage: webpack-cli [options]
...

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