Add .cjs extension for javascript files

pull/2929/head
Tobias Messner 2022-01-31 20:48:57 +01:00
parent bcc7fd43aa
commit f8066b86df
1 changed files with 1 additions and 1 deletions

View File

@ -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'],