Initial commit
This commit is contained in:
17
skills/visual-regression/templates/storybook-main.js.j2
Normal file
17
skills/visual-regression/templates/storybook-main.js.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
||||
addons: [
|
||||
'@storybook/addon-links',
|
||||
'@storybook/addon-essentials',
|
||||
{% if vr_tool == 'chromatic' -%}
|
||||
'@chromatic-com/storybook',
|
||||
{% elif vr_tool == 'percy' -%}
|
||||
'@percy/storybook',
|
||||
{% endif -%}
|
||||
'@storybook/addon-interactions',
|
||||
],
|
||||
framework: {
|
||||
name: '@storybook/{{ framework | default('react') }}-vite',
|
||||
options: {},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user