Skip to content

Specify a standard filename under terserOptions #8347

Description

@resting

Is your proposal related to a problem?

The current npm run build extracts the License comments and put them in a file that ends in a non standard extension .LICENCSE. This causes problem for servers like IIS to return 404 for request to the file. It also causes serviceWorker to break due to the file not being loaded.

Describe the solution you'd like

Specify a standard name under terserOptions in webpack.config.js, so that it ends in .js.

Not tested, should be something like the below:

filename: [file]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions