Add .cjs extension for javascript files
parent
bcc7fd43aa
commit
f8066b86df
|
@ -10,7 +10,7 @@ declare var require: any;
|
|||
|
||||
registerLanguage({
|
||||
id: 'javascript',
|
||||
extensions: ['.js', '.es6', '.jsx', '.mjs'],
|
||||
extensions: ['.js', '.es6', '.jsx', '.mjs', '.cjs'],
|
||||
firstLine: '^#!.*\\bnode',
|
||||
filenames: ['jakefile'],
|
||||
aliases: ['JavaScript', 'javascript', 'js'],
|
||||
|
|
Loading…
Reference in New Issue