We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4edd199 commit b712197Copy full SHA for b712197
.storybook/main.ts
@@ -1,5 +1,6 @@
1
import type { StorybookConfig } from '@storybook/react-vite';
2
-
+import { createRequire } from 'module';
3
+const require = createRequire(import.meta.url);
4
import { join, dirname } from 'path';
5
6
/**
0 commit comments