diff --git a/src/compile-cache.js b/src/compile-cache.js index fde04a2f4..1bbef4273 100644 --- a/src/compile-cache.js +++ b/src/compile-cache.js @@ -161,8 +161,7 @@ require('source-map-support').install({ Error.stackTraceLimit = 30 var prepareStackTraceWithSourceMapping = Error.prepareStackTrace - -let prepareStackTrace = prepareStackTraceWithSourceMapping +var prepareStackTrace = prepareStackTraceWithSourceMapping function prepareStackTraceWithRawStackAssignment (error, frames) { if (error.rawStack) { // avoid infinite recursion