indutny / webpack-common-shake

CommonJS Tree Shaker plugin for WebPack
918 stars 13 forks source link

webpack4 build error? #30

Closed myzhibie closed 6 years ago

myzhibie commented 6 years ago

image This plugin does not support webpack 4.16.4?

jkrems commented 6 years ago

This looks like the same issue I ran into: https://github.com/indutny/webpack-common-shake/pull/29

The short version is that this seems to be triggered by a very specific combination of imports. There's a minimal (?) reproduction in the PR above but I haven't had time yet to investigate it any deeper.