From 440afcb2f5b13982ea93b3fcb8854cdb61722442 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 4 Dec 2019 08:28:38 +0100 Subject: Fix storyshots --- .storybook/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.storybook') 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() { -- cgit 1.4.1