Skip to content

Commit 0cf96e6

Browse files
committed
Revert "[Issue #387]: Resolved Storybook build error (#388)"
This reverts commit 675c099.
1 parent 675c099 commit 0cf96e6

File tree

1 file changed

+1
-5
lines changed
  • template/{{app_name}}/.storybook

1 file changed

+1
-5
lines changed

template/{{app_name}}/.storybook/main.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
*/
66
// @ts-check
77

8-
import path, { dirname } from "path";
9-
import { fileURLToPath } from "url";
10-
11-
const __filename = fileURLToPath(import.meta.url);
12-
const __dirname = dirname(__filename);
8+
import path from "path";
139

1410
// Support deploying to a subdirectory, such as GitHub Pages.
1511
const NEXT_PUBLIC_BASE_PATH = process.env.NEXT_PUBLIC_BASE_PATH ?? "";

0 commit comments

Comments
 (0)