From 13ed8f896ab2df733252f75d8ed770c2d9e11862 Mon Sep 17 00:00:00 2001 From: Adam Burgess Date: Wed, 24 Feb 2016 07:02:05 +1100 Subject: [PATCH] esm plugins are now correctly transpiled (fixes systemjs/plugin-text#28) --- compilers/esm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compilers/esm.js b/compilers/esm.js index 1e185e4..db0754d 100644 --- a/compilers/esm.js +++ b/compilers/esm.js @@ -146,7 +146,7 @@ exports.compile = function(load, opts, loader) { lowResolutionSourceMap: opts.lowResSourceMaps }); - var tree = load.metadata.parseTree || compiler.parse(load.source, load.path); + var tree = load.metadata.parseTree || compiler.parse(source, load.path); if (opts.normalize) { var transformer = new TraceurImportNormalizeTransformer(function(dep) {