common-shakeify
common-shakeify copied to clipboard
Breaks split-require
I just noticed that #43 completely breaks split-require. Only module.exports = whatever work, but all named exports are dropped. I've created a test case in my fork but am struggling to figure out what's wrong.
I'm not fully familiar with the inner workings of split-require and even less so in combination with common-shakeify, @goto-bus-stop, can you see why this change would break split-require?
Originally posted by @tornqvist in https://github.com/browserify/common-shakeify/issues/43#issuecomment-1308507112