diff options
author | 2023-03-10 16:19:57 +0100 | |
---|---|---|
committer | 2023-03-10 16:19:57 +0100 | |
commit | c44aa15534007c3ac320fa6e632c760ddb2ce2f3 (patch) | |
tree | 8f200fb52627f228685dfc9e83ef067cdde31d91 /packages/markdown/remark/src/load-plugins.ts | |
parent | d37dc7c71a688fe25cfdd7cfa3594ffe1e0a6d6e (diff) | |
download | astro-c44aa15534007c3ac320fa6e632c760ddb2ce2f3.tar.gz astro-c44aa15534007c3ac320fa6e632c760ddb2ce2f3.tar.zst astro-c44aa15534007c3ac320fa6e632c760ddb2ce2f3.zip |
fix: Enforce the usage of type imports when possible (#6502)
Diffstat (limited to 'packages/markdown/remark/src/load-plugins.ts')
-rw-r--r-- | packages/markdown/remark/src/load-plugins.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/markdown/remark/src/load-plugins.ts b/packages/markdown/remark/src/load-plugins.ts index abc93c122..a3efd92a6 100644 --- a/packages/markdown/remark/src/load-plugins.ts +++ b/packages/markdown/remark/src/load-plugins.ts @@ -1,6 +1,6 @@ import { resolve as importMetaResolve } from 'import-meta-resolve'; import path from 'path'; -import * as unified from 'unified'; +import type * as unified from 'unified'; import { pathToFileURL } from 'url'; const cwdUrlStr = pathToFileURL(path.join(process.cwd(), 'package.json')).toString(); |