Skip to content

Commit

Permalink
cjsRequireDetection: false metadata option
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Dec 3, 2015
1 parent 715b275 commit 52a7ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

if (load.metadata.format == 'cjs') {
var metaDeps = load.metadata.deps;
var deps = getCJSDeps(load.source);
var deps = load.metadata.cjsRequireDetection === false ? [] : getCJSDeps(load.source);

for (var g in load.metadata.globals)
deps.push(load.metadata.globals[g]);
Expand Down

0 comments on commit 52a7ab4

Please sign in to comment.