Skip to content

[Frontend/Encore] WebpackDevServer 4.0.0-rc.0 renamed the "firewall" option into "allowedHosts" #15542

Closed
@emmanuelballery

Description

@emmanuelballery

When installing @symfony/webpack-encore you'll get a front requirement for webpack-dev-server@^4.0.0-beta.0. The new 4.0.0-rc.0 release renamed the firewall option into allowedHosts (and changed the way it's configured)

See WebpackDevServer Changelog.

This documentation is not valid as of webpack-dev-server@^4.0.0-beta.0.

Encore
    .configureDevServerOptions(options => {
        options.allowedHosts = 'all';
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions