Hello,
.mjs
is a file extension used by javascript modules. More details here : https://v8.dev/features/modules#mjs
It would be nice if Spring Boot supports them out of the box.
Have a nice day !
Comment From: bclozel
These days we're trying to only add media types as entries only if Spring projects have a specific support for that, or if this type is officially added by containers we're in sync with. In the interest of efficiency, we won't add that one right now.
Thanks!
Comment From: wilkinsona
Also, please see https://github.com/spring-projects/spring-boot/issues/17254 for some background on the mappings that we include by default.
Comment From: clemstoquart
Ok 🙂