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

Commit

Permalink
support non-inlined
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 23, 2016
1 parent 7c7ff83 commit 13209cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rollup.js
Expand Up @@ -85,7 +85,7 @@ exports.rollupTree = function(loader, tree, entryPoints, traceOpts, compileOpts)
entryPoints.forEach(function(entryPoint) {
if (isESM(entryPoint) && optimizationPoints.indexOf(entryPoint) == -1)
optimizationPoints.push(entryPoint);
})
});

/*
* 2. Determine unoptimizable modules, splitting them out into their own optimization points
Expand Down Expand Up @@ -277,7 +277,7 @@ exports.rollupTree = function(loader, tree, entryPoints, traceOpts, compileOpts)
};

// replace the entry point module itself with the inlined subgraph module
var curInlined = inlineMap[entryPoint];
var curInlined = inlineMap[entryPoint] || [];

// merge all external deps across all inlined modules
// when a duplicate dependency is hit, throw as we don't
Expand Down

0 comments on commit 13209cb

Please sign in to comment.