Skip to content

Commit 38fdd92

Browse files
ginsbachCopilot
andauthored
Update extensions/ql-vscode/.storybook/vscode-theme-addon/preset.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9e18768 commit 38fdd92

File tree

1 file changed

+3
-2
lines changed
  • extensions/ql-vscode/.storybook/vscode-theme-addon

1 file changed

+3
-2
lines changed

extensions/ql-vscode/.storybook/vscode-theme-addon/preset.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
const previewPath = new URL("./preview.ts", import.meta.url).pathname;
2-
const managerPath = new URL("./manager.tsx", import.meta.url).pathname;
1+
import { fileURLToPath } from "node:url";
32

3+
const previewPath = fileURLToPath(new URL("./preview.ts", import.meta.url));
4+
const managerPath = fileURLToPath(new URL("./manager.tsx", import.meta.url));
45
export function previewAnnotations(entry: string[] = []) {
56
return [...entry, previewPath];
67
}

0 commit comments

Comments
 (0)