Skip to content

[question] /webpack-dev-server file list endpoint not working #3023

Description

@olee

Accessing http://localhost:/webpack-dev-server to show list of bundled files as the documentation describes:
image

  • Operating System: Windows 10
  • webpack Version: 5.21.2
  • webpack-dev-server Version: 4.0.0-beta.0
// webpack.config.js
{
    // ...
    devServer: {
        port: devServerPort,
        hot: true,
        compress: true,
        static: [paths.appPublic],
        transportMode: 'ws',
        writeToDisk : true,
        overlay: {
            errors: true,
            warnings: false,
        },
        historyApiFallback: {
            disableDotRule: true,
        },
    }
}

Expected Behavior

Show list of files

Actual Behavior

Index html is served

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions