Closed calebjacob closed 6 years ago
This appears to have fixed itself somehow. After I restarted Sublime Text 3, all .mjs
files started displaying the JS icon in the sidebar. I did select "Open all with current extension as..." and selected JavaScript. Maybe doing that and restarting Sublime Text somehow fixes this magically.
Hey there!
ES Modules are starting to receive native support for Node as you can read here: https://nodejs.org/api/esm.html
Long story short, most JS files in Node projects will now be using the
.mjs
file extension instead of just.js
- to enable use of ES Modules. Is there a way to display the JS icon next to.mjs
files in the sidebar? Right now there's just a generic star icon.Thanks for all the great work!