Skip to content

Commit 41ae75f

Browse files
committed
let's try
1 parent 1bb4954 commit 41ae75f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.storybook/main.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ Please see LICENSE files in the repository root for full details.
77

88
import type { StorybookConfig } from "@storybook/react-vite";
99
import path from "node:path";
10-
import { fileURLToPath } from "node:url";
1110
import { nodePolyfills } from "vite-plugin-node-polyfills";
1211
import { mergeConfig } from "vite";
1312

14-
const __filename = fileURLToPath(import.meta.url);
15-
const __dirname = path.dirname(__filename);
16-
1713
const config: StorybookConfig = {
1814
stories: ["../src/shared-components/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
1915
staticDirs: ["../webapp"],
@@ -30,7 +26,7 @@ const config: StorybookConfig = {
3026
resolve: {
3127
alias: {
3228
// Alias used by i18n.tsx
33-
$webapp: path.resolve(__dirname, "../webapp"),
29+
$webapp: path.resolve("webapp"),
3430
},
3531
},
3632
// Needed for counterpart to work

0 commit comments

Comments
 (0)