diff --git a/src/basic-languages/javascript/javascript.contribution.ts b/src/basic-languages/javascript/javascript.contribution.ts index 56a7cdb5..112c2632 100644 --- a/src/basic-languages/javascript/javascript.contribution.ts +++ b/src/basic-languages/javascript/javascript.contribution.ts @@ -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'],