summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src/load-plugins.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/remark/src/load-plugins.ts')
-rw-r--r--packages/markdown/remark/src/load-plugins.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/markdown/remark/src/load-plugins.ts b/packages/markdown/remark/src/load-plugins.ts
index a3efd92a6..b1343401f 100644
--- a/packages/markdown/remark/src/load-plugins.ts
+++ b/packages/markdown/remark/src/load-plugins.ts
@@ -1,7 +1,7 @@
import { resolve as importMetaResolve } from 'import-meta-resolve';
-import path from 'path';
+import path from 'node:path';
import type * as unified from 'unified';
-import { pathToFileURL } from 'url';
+import { pathToFileURL } from 'node:url';
const cwdUrlStr = pathToFileURL(path.join(process.cwd(), 'package.json')).toString();