See comment: 1741d3e#r34210654
Unfortunately this change (1741d3e) breaks some test setups that run on node, as import stays in the bundle, but is not yet officially supported by node (without flag). (e.g. running @storybook/addon-storyshots with jest uses node).
Is it possible to revert this change and release a new version on npm?