Hello,
I use .mjs extension for my project and I didn’t find a way to make prettier work on those files. The little button on top top didn’t appear.
It would be awesome if you add the possibility to make .mjs file prettier
Hello,
I use .mjs extension for my project and I didn’t find a way to make prettier work on those files. The little button on top top didn’t appear.
It would be awesome if you add the possibility to make .mjs file prettier
Hi! It’s because the mjs is not a popular extension (or because prettier doesn’t support it), but I’m sure that will be implemented soon!
Thanks!
TypeScript has recently added “.mts” which outputs as “.mjs”.
I would love this, and Prettier support should be extended.
edit: I bumped a 24 day-old topic
Hi folks - we just deployed an update that adds Prettier button support to .mjs and .cjs files. Appreciate the idea, votes and the topic bump!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.