diff options
Diffstat (limited to '.storybook')
-rw-r--r-- | .storybook/config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.storybook/config.js b/.storybook/config.js index 7126515..45f33c0 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -1,6 +1,8 @@ import { configure } from '@storybook/vue' -import '../assets/css/main.css' +if (!process.env.JEST_WORKER_ID) { + require('../assets/css/main.css') +} const req = require.context('../components', true, /\.stories.js$/) function loadStories() { |