We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c8276 commit a6dd67cCopy full SHA for a6dd67c
.storybook/main.js
@@ -1,5 +1,4 @@
1
/** @type { import('@storybook/svelte-vite').StorybookConfig } */
2
-process.env.CHROMATIC_DISABLE = 'true';
3
4
const config = {
5
framework: '@storybook/svelte-vite',
@@ -44,11 +43,9 @@ const config = {
44
43
);
45
46
if (iframeHtml) {
47
- const isProduction = configType === 'PRODUCTION';
48
- const basePath = isProduction ? '/common/firebird/dist/storybook' : '';
49
iframeHtml.source = iframeHtml.source.replace(
50
'</head>',
51
- ` <link rel="stylesheet" href="${basePath}/${cssChunk.fileName}">\n</head>`
+ ` <link rel="stylesheet" href="./${cssChunk.fileName}">\n</head>`
52
53
}
54
0 commit comments