Why does nucleus.scandir exist with it's constraints?
Opened this issue · 1 comments
Fishrock123 commented
I'm not clear on why scandir is useful given it is only able to see into the initial package/zip bundle. If you're running that sort of thing, won't be hard-pathed anyways? It's not like you'll be scanning that kind of user data out of it?
cc @creationix
creationix commented
I have found it useful to iterate on built-in paths. You might be using generic libraries to consume assets in your bundle.
Would it be possible to implement a node-like require system without some sort of scandir?