From 2e49aedae4f0ddda0058babeaf860674623d88e3 Mon Sep 17 00:00:00 2001 From: guybedford Date: Sat, 14 Feb 2015 12:32:20 +0200 Subject: [PATCH] correct 6to5 source maps --- compilers/es6.js | 1 + 1 file changed, 1 insertion(+) diff --git a/compilers/es6.js b/compilers/es6.js index 39ce5f6..0a94c4e 100644 --- a/compilers/es6.js +++ b/compilers/es6.js @@ -41,6 +41,7 @@ exports.compile = function(load, opts, loader) { options.sourceMap = true; options.filename = load.address; options.filenameRelative = load.name; + options.sourceFileName = load.address; options.code = true; options.ast = false; options.moduleIds = true;