diff --git a/lib/javascript/index.js b/lib/javascript/index.js index 28fe2ec07..1e4a7534d 100644 --- a/lib/javascript/index.js +++ b/lib/javascript/index.js @@ -70,7 +70,7 @@ module.exports = function(root, filePath, callback){ } process.once('uncaughtException', exceptionHandler) - browserify(filePath, {extensions: extensions}).transform(function(file) { + browserify(srcPath, {extensions: extensions}).transform(function(file) { var result = '' return through(write, end)