Looks like Storybook uses Webpack 4 by default, so you have to add Webpack 5 and change the Storybook config to use that.