UNPKG

dependency-cruiser

Version:

Visualize and validate javascript dependencies. With your rules. ES6, CommonJS, AMD

8 lines (7 loc) 154 B
require(["./sub/dir", "./root_one", "./root_two"], function(sub_dir, root_one) { "use strict"; // do exciting stuff });