File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,13 +7,9 @@ Please see LICENSE files in the repository root for full details.
77
88import type { StorybookConfig } from "@storybook/react-vite" ;
99import path from "node:path" ;
10- import { fileURLToPath } from "node:url" ;
1110import { nodePolyfills } from "vite-plugin-node-polyfills" ;
1211import { mergeConfig } from "vite" ;
1312
14- const __filename = fileURLToPath ( import . meta. url ) ;
15- const __dirname = path . dirname ( __filename ) ;
16-
1713const 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
You can’t perform that action at this time.
0 commit comments