diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-12-04 08:28:38 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-12-04 08:28:38 +0100 |
commit | 440afcb2f5b13982ea93b3fcb8854cdb61722442 (patch) | |
tree | f37f1231bd821cd662223f0738ad9e11a00bb5c8 /.storybook/config.js | |
parent | a8db3a02693e14dccd98f401e5ae78f6e5822b57 (diff) | |
download | puszcza-440afcb2f5b13982ea93b3fcb8854cdb61722442.tar.gz puszcza-440afcb2f5b13982ea93b3fcb8854cdb61722442.zip |
Fix storyshots
Diffstat (limited to '.storybook/config.js')
-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() { |