about summary refs log tree commit diff
path: root/.storybook/config.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-04 08:28:38 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-04 08:28:38 +0100
commit440afcb2f5b13982ea93b3fcb8854cdb61722442 (patch)
treef37f1231bd821cd662223f0738ad9e11a00bb5c8 /.storybook/config.js
parenta8db3a02693e14dccd98f401e5ae78f6e5822b57 (diff)
downloadpuszcza-440afcb2f5b13982ea93b3fcb8854cdb61722442.tar.gz
puszcza-440afcb2f5b13982ea93b3fcb8854cdb61722442.zip
Fix storyshots
Diffstat (limited to '.storybook/config.js')
-rw-r--r--.storybook/config.js4
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() {