1+ /* eslint-disable */
2+ console . log ( 'main.ts - imports' ) ;
3+
14import path from 'path' ;
25import sass from 'sass' ;
36import type { StorybookConfig } from '@storybook/react-webpack5' ;
@@ -8,6 +11,8 @@ import { translationDependencies } from '../scripts/i18n.config';
811
912const language = process . env . LANGUAGE ;
1013
14+ console . log ( 'main.ts - config' ) ;
15+
1116const config : StorybookConfig = {
1217 stories : [ '../src/**/*.stories.@(js|jsx|ts|tsx)' ] ,
1318
@@ -17,10 +22,6 @@ const config: StorybookConfig = {
1722 } ,
1823
1924 addons : [
20- '@chromatic-com/storybook' ,
21- '@storybook/addon-docs' ,
22- '@storybook/addon-essentials' ,
23- '@storybook/addon-interactions' ,
2425 {
2526 name : '@storybook/addon-styling-webpack' ,
2627 options : {
@@ -45,14 +46,11 @@ const config: StorybookConfig = {
4546 ] ,
4647 } ,
4748 } ,
48- '@storybook/addon-links' ,
4949 '@storybook/addon-webpack5-compiler-babel' ,
5050 'storybook-react-intl' ,
5151 ] ,
5252
5353 webpackFinal : async ( webpack : Configuration = { } ) => {
54- webpack . cache = false ;
55-
5654 webpack . resolve = webpack . resolve || { } ;
5755 webpack . resolve . alias = {
5856 ...webpack . resolve . alias ,
0 commit comments