diff --git a/lib/configParser.ts b/lib/configParser.ts index d85800c44..35e559a47 100644 --- a/lib/configParser.ts +++ b/lib/configParser.ts @@ -14,6 +14,13 @@ try { // Intentionally blank - ignore if coffee-script is not available. } +// CoffeeScript lost the hyphen in the module name a long time ago, all new version are named this: +try { + require('coffeescript').register(); +} catch (e) { + // Intentionally blank - ignore if coffeescript is not available. +} + // LiveScript is required here to enable config files written in LiveScript. try { require('LiveScript');