···333333```nix
334334# import-tree.files : [ <list-of-files> ]
335335336336-((import-tree.withLib lib).initFilter (lib.hasSuffix ".js")).files # => list of all .js files
336336+# paths to give to uglify-js
337337+lib.pipe import-tree [
338338+ (i: i.initFilter (lib.hasSuffix ".js")) # look for .js files. ignore nothing.
339339+ (i: i.addPath ./out) # under the typescript compiler outDir
340340+ (i: i.withLib lib) # set lib since we are not importing modules.
341341+ (i: i.files)
342342+]
343343+# => list of all .js files
337344```
338345339346### `import-tree.result`