Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
Tragically late fix for 6to5 source map path extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
crisptrutski committed Feb 13, 2015
1 parent e124381 commit dd47fde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions compilers/es6.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var traceur = require('traceur');
var to5 = require('6to5-core');


var ParseTreeTransformer = traceur.get('codegeneration/ParseTreeTransformer.js').ParseTreeTransformer;
function TraceurImportNormalizeTransformer(map) {
this.map = map;
Expand Down Expand Up @@ -41,7 +40,6 @@ exports.compile = function(load, opts, loader) {
if (opts.sourceMaps)
options.sourceMap = true;
options.filename = load.address;
options.filenameRelative = load.name;
options.code = true;
options.ast = false;
options.moduleIds = true;
Expand Down
2 changes: 1 addition & 1 deletion test/expectations/6to5.tree.multi.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":3,"sources":["tree/third.js","tree/cjs.js","tree/jquery.js","tree/some","tree/text.txt","tree/component.jsx","tree/second","tree/global.js","tree/amd.js","tree/first"],"names":[],"mappings":";;AAAA,KAAK,SAAS,AAAC,cAAC,GAAC,CAAG,UAAS,SAAQ,CAAG;AACtC,OAAO;AACL,UAAM,CAAG,GAAC;AACV,UAAM,CAAG,UAAQ,AAAC,CAAE;AAClB,cAAQ,AAAC,CAAC,MAAK,CAAG,UAAQ,CAAC,CAAC;IAC9B;AAAA,EACF,CAAC;AACH,CAAC,CAAC;AAAA;;;;;;;;;ACPF,QAAM,IAAI,AAAC,CAAC,UAAS,CAAC,CAAC;AACvB,QAAM,IAAI,EAAI,KAAG,CAAC;;;;AAClB;;;;;;;ACFA,AAAI,MAAA,CAAA,MAAK,EAAI,GAAC,CAAC;;;;;AACf;;;;;;;;;;ACDA;;;;;;;ACAA,OAAK,QAAQ,EAAI,oBAAkB,CAAC;;;;AAAA;;;;;;;ACApC,AAAI,IAAA,CAAA,KAAI,EAAI,GAAC,CAAC;AACd,MAAI,cAAc,EAAI,UAAQ,AAAC,CAAE;AAAC,IAAA;EAAC,CAAC;AACpC,QAAM,UAAU,EAAI,CAAA,KAAI,cAAc,AAAC,CAAC,KAAI,CAAG,EAAC,SAAQ,CAAG,MAAI,CAAC,CAAC,CAAC;;;;AAClE;;;;;;MCDW,CAAC;;;;AAAD,OAAC,gBAAG,CAAC;;;;;;;ACFhB,kBAAc,CAAC;AACf,wBAAoB,CAAC;AAErB,OAAG,OAAO,EAAI,CAAA,IAAG,OAAO,GAAK,GAAC,CAAC;AAC/B,OAAG,OAAO,KAAK,EAAI,SAAO,CAAC;;;;AAEH;;;;;;SCN4C,SAAS,CAAA,CAAG,CAAA,CAAA,CAAG,CAAA,CAAA,CAAG;AACpF,SAAO;AAAE,OAAC,CAAG,MAAI;AAAG,SAAG,CAAG,EAAA;AAAA,IAAE,CAAC;EAC/B;EAAE;AACF;;;;;;MCDS,GAAG,yBAID,CAAC,EACC,IAAI;;;AALR,SAAG,WAAH,GAAG;;;;;;;AAID,OAAC,gBAAG,CAAC;AACH,UAAI,mBACJ,SADA,IAAI;8BAAJ,IAAI;;AAEb,mCAFS,IAAI,6CAEL;OACT"}
{"version":3,"sources":["tree/third.js","tree/cjs.js","tree/jquery.js","tree/some","tree/text.txt","tree/component.jsx","tree/second.js","tree/global.js","tree/amd.js","tree/first.js"],"names":[],"mappings":";;AAAA,KAAK,SAAS,AAAC,cAAC,GAAC,CAAG,UAAS,SAAQ,CAAG;AACtC,OAAO;AACL,UAAM,CAAG,GAAC;AACV,UAAM,CAAG,UAAQ,AAAC,CAAE;AAClB,cAAQ,AAAC,CAAC,MAAK,CAAG,UAAQ,CAAC,CAAC;IAC9B;AAAA,EACF,CAAC;AACH,CAAC,CAAC;AAAA;;;;;;;;;ACPF,QAAM,IAAI,AAAC,CAAC,UAAS,CAAC,CAAC;AACvB,QAAM,IAAI,EAAI,KAAG,CAAC;;;;AAClB;;;;;;;ACF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