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

Commit

Permalink
fix conditional tracing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Mar 30, 2016
1 parent e7b4ca5 commit f8abda4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ Builder.prototype.buildStatic = function(expressionOrTree, outFile, opts) {
// attempt rollup optimizations of ESM entry points
return rollupTree(self.loader, inlinedTree, [], traceOpts, compileOpts)
.then(function(rolledUp) {
inlineMap = rolledUp.inlineMap
inlineMap = rolledUp.inlineMap;

// we rolled up parts of the tree
if (rolledUp.tree)
Expand Down
2 changes: 1 addition & 1 deletion lib/trace.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Trace.prototype.getLoadRecord = function(canonical, excludeURLs, parentStack) {
function toPackagePath(subPath) {
if (isPlain(subPath)) {
// plain name -> apply global map
return loader.pluginLoader.normalize(subPath, normalizedPkgName + '/');
return loader.normalize(subPath, normalizedPkgName + '/');
}
else if (subPath == '.') {
return Promise.resolve(normalizedPkgName);
Expand Down

0 comments on commit f8abda4

Please sign in to comment.