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 675c099 commit 0cf96e6Copy full SHA for 0cf96e6
template/{{app_name}}/.storybook/main.js
@@ -5,11 +5,7 @@
5
*/
6
// @ts-check
7
8
-import path, { dirname } from "path";
9
-import { fileURLToPath } from "url";
10
-
11
-const __filename = fileURLToPath(import.meta.url);
12
-const __dirname = dirname(__filename);
+import path from "path";
13
14
// Support deploying to a subdirectory, such as GitHub Pages.
15
const NEXT_PUBLIC_BASE_PATH = process.env.NEXT_PUBLIC_BASE_PATH ?? "";
0 commit comments