Skip to content

Commit 65b20f5

Browse files
committedJul 7, 2024
fix(core): external @types/hast dep
fix #713
1 parent 75e17a4 commit 65b20f5

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
 

‎packages/core/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@
6565
"prepublishOnly": "nr build",
6666
"test": "vitest"
6767
},
68+
"dependencies": {
69+
"@types/hast": "^3.0.4"
70+
},
6871
"devDependencies": {
6972
"hast-util-to-html": "^9.0.1",
7073
"vscode-oniguruma": "^1.7.0"

‎packages/core/rollup.config.mjs

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ export default defineConfig([
7171
if (!/Circular|an empty chunk/.test(warning.message))
7272
warn(warning)
7373
},
74-
external: [],
74+
external: [
75+
'hast',
76+
],
7577
},
7678
])
7779

‎pnpm-lock.yaml

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.