```js
// .storybook/main.js

module.exports = {
  builder: {
    name: 'webpack5',
    options: {
      lazyCompilation: true,
    },
  },
};
```
