aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Max number of directories to traverse for dependencies? #155

Closed bulldetektor closed 7 years ago

bulldetektor commented 7 years ago

I'm submitting a bug report

Please tell us about your environment:

Current behavior: I'm trying to bundle js-files in a folder structure that has 5 levels, eg; js --sub1 ----sub2 ------sub3 --------sub4

My includes look like this; "[**/js/**/*.js]"

All files in sub1, sub2 and sub3 are included, however none of my files receiding in directories at the sub4-level are included. Are there any (un-documented?) max number of directory depth for includes?

Expected/desired behavior:

I'd expect that my files in more that 4 levels down in the directory structure should be included in the bundle.

bulldetektor commented 7 years ago

Ok, my bad... Closing this because the error was in my gulp script. The task that copied js-files prior to the bundling was missing the return statement so I'm guessing the file copy didn't finish before the bundling started.