From dc6e9d52f940065ada23c4c0d81308d96d2f5679 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 23 Nov 2021 19:49:08 +0000 Subject: [PATCH] Exclude node_modules contents when building storybooks --- .storybook/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.storybook/main.js b/.storybook/main.js index df6cdb76b..af94389c4 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -1,4 +1,4 @@ module.exports = { - stories: ['../components/**/storybook/index.jsx'], + stories: ['../components/**!(node_modules)/storybook/index.jsx'], addons: ['@storybook/addon-essentials'] }