diff --git a/src/compile-cache.js b/src/compile-cache.js index 9d4ec08f3..8a4451d90 100644 --- a/src/compile-cache.js +++ b/src/compile-cache.js @@ -132,6 +132,7 @@ require('source-map-support').install({ } var compiler = COMPILERS[path.extname(filePath)] + if (!compiler) compiler = COMPILERS['.js'] try { var fileData = readCachedJavascript(compiler.getCachePath(sourceCode, filePath))