Skip to content

[Documentation] Document the official MIME type for .gjs files #21133

Description

@MichaelDeBoey

I’m working on improving MIME type support for modern web framework source files across tooling, servers, and content-type databases.

Currently, there does not appear to be an officially documented MIME type for .gjs files.
Some tools/frameworks use conventions such as text/x-<framework>, but there is no authoritative reference from the Ember project itself.
This create ambiguity for other projects to rely on a consistent mapping.

Having an official statement would help:

  • MIME databases include the mapping
  • web servers and CDNs configure correct content types
  • editors and language servers align
  • reduce ecosystem fragmentation

Would the Ember project be open to document an official recommendation for the MIME type of .gjs files?

This does not necessarily require IANA registration though.
A short note in the docs would already provide a reliable reference for downstream projects I think.

If another MIME type from text/x-ember (like text/plain, text/html, text/html+ember, ...) is preferred, documenting that choice would be equally helpful.

Thank you for your work and for considering this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions