I want to use browserify --bare to create executables for node cli tools. With a large project, such as npmd (or browserify!) there might be a megabyte of javascript over hundreds of .js files. Since require is sync, and every file this can make start up time a UX issue. However, I figure that bundling everything into one large js file will be very fast (only one disk seek, especially on spinning disks)
However, the problem is that browserify does not support !module.parent which is a common way of detecting whether a given module is main module being run.