mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
disable depCache in node
This commit is contained in:
parent
5ce46c3254
commit
c553f7ed7d
@ -105,8 +105,8 @@ function initializePlugin (loader, key, metadata) {
|
||||
|
||||
function loadBundlesAndDepCache (config, loader, key) {
|
||||
// load direct deps, in turn will pick up their trace trees
|
||||
var deps = config.depCache[key];
|
||||
if (deps) {
|
||||
var deps;
|
||||
if (isBrowser && (deps = config.depCache[key])) {
|
||||
for (var i = 0; i < deps.length; i++)
|
||||
loader.normalize(deps[i], key).then(preloadScript);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user