browser-pack-flat
browser-pack-flat copied to clipboard
doesn't work if entry module is part of a cyclical dep chain
trafficstars
i tried to make index.js auto detect if it was used as a plugin, and then require('./plugin') if it was. but, that means index.js and plugin.js depend on each other. that didn't work. i think to make it work, browser-pack-flat needs to add calls to the cyclical entry modules.
may've actually been https://github.com/browserify/browserify/issues/1068.