mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
add .mjs support 🌹
This commit is contained in:
parent
618f2cff2d
commit
553eddf6b3
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import { registerLanguage } from '../_.contribution';
|
|||
|
||||
registerLanguage({
|
||||
id: 'javascript',
|
||||
extensions: ['.js', '.es6', '.jsx'],
|
||||
extensions: ['.js', '.es6', '.jsx', '.mjs'],
|
||||
firstLine: '^#!.*\\bnode',
|
||||
filenames: ['jakefile'],
|
||||
aliases: ['JavaScript', 'javascript', 'js'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue