common-shakeify icon indicating copy to clipboard operation
common-shakeify copied to clipboard

Breaks split-require

Open tornqvist opened this issue 3 years ago • 0 comments

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

tornqvist avatar Nov 09 '22 11:11 tornqvist