Skip to content

Add .cjs to mimetypes #140942

@johnfraney

Description

@johnfraney

Feature or enhancement

Proposal:

.cjs is a JavaScript extension for CommonJS modules and is used pretty commonly (ha) by JS like Vite. It's also a format that NodeJS supports.

It could be good to add it to mimetypes since it is a widely-used extension.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions