Skip to content

Conversation

@squidfunk
Copy link
Contributor

Fixes #3164. I've already added support for .mjs in Material for MkDocs in squidfunk/mkdocs-material@530f844. MkDocs doesn't complain when .mjs is used, but with the PR proposed here, those files are properly treated as JavaScript files, which some plugins may rely on. Once this is merged, I'll update the built-in plugins (.e.g the privacy plugin).

I've also adapted the built-in themes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add way to treat .mjs files as JavaScript

2 participants