Comparing version 0.6.8 to 0.6.9
/* | ||
esperanto.js v0.6.8 - 2015-02-04 | ||
esperanto.js v0.6.9 - 2015-02-06 | ||
http://esperantojs.org | ||
@@ -615,7 +615,9 @@ | ||
var sourceMapFile = options.sourceMapFile[0] === '/' ? options.sourceMapFile : './' + splitPath( options.sourceMapFile ).pop(); | ||
map = body.generateMap({ | ||
includeContent: true, | ||
hires: true, | ||
file: options.sourceMapFile, | ||
source: !isBundle ? getRelativePath( options.sourceMapFile, options.sourceMapSource ) : null | ||
file: sourceMapFile, | ||
source: !isBundle ? getRelativePath( sourceMapFile, options.sourceMapSource ) : null | ||
}); | ||
@@ -627,3 +629,3 @@ | ||
} else { | ||
code += '\n//# sourceMa' + 'ppingURL=./' + splitPath( options.sourceMapFile ).pop() + '.map'; | ||
code += '\n//# sourceMa' + 'ppingURL=' + sourceMapFile + '.map'; | ||
} | ||
@@ -1769,3 +1771,3 @@ } else { | ||
bundle: function ( options ) { | ||
return getBundle( options ).then( function ( bundle ) { | ||
return undefined__default( options ).then( function ( bundle ) { | ||
return { | ||
@@ -1772,0 +1774,0 @@ imports: bundle.externalModules.map( function(mod ) {return mod.id} ), |
{ | ||
"name": "esperanto", | ||
"description": "An easier way to convert ES6 modules to AMD and CommonJS", | ||
"version": "0.6.8", | ||
"version": "0.6.9", | ||
"author": "Rich Harris", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/esperantojs/esperanto", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
193122
5650