Skip to content

Commit c683532

Browse files
authored
Merge pull request #524 from limzykenneth/main
Fix incorrect import links
2 parents d5930fa + fe3f75f commit c683532

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/LinkWrapper/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { rewriteRelativeLink } from "@pages/_utils";
2+
import { rewriteRelativeLink } from "@pages/_utils-node";
33
const rawProps = Astro.props;
44
const props = { ...rawProps };
55
if (props.href) {

src/scripts/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs, { cp, readdir } from "fs/promises";
33
import path from "path";
44
import type { CopyOptions, Dirent } from "fs";
55
import { fileURLToPath } from "url";
6-
import { rewriteRelativeLink } from "../pages/_utils";
6+
import { rewriteRelativeLink } from "../pages/_utils-node";
77

88
/* Absolute path to the root of this project repo */
99
export const repoRootPath = path.join(

0 commit comments

Comments
 (0)