DEV Community

Discussion on: How to Create and Publish a React Component Library

Collapse
 
skrtz profile image
stephen kurtz • Edited

Solved, but Idk if it's a long term solution:
I added this code to .storybook/main.js

module.exports = {
    managerWebpack: (config, options) => {
        options.cache.set = () => Promise.resolve();
        return config;
    }
}
Enter fullscreen mode Exit fullscreen mode

Original solution was found here: github.com/storybookjs/storybook/i...

Some comments have been hidden by the post's author - find out more