We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
antfu
octref
Learn more about funding links in repositories.
Report abuse
@shikijs/vscode-textmate
1 parent b0f3bb7 commit a1e154dCopy full SHA for a1e154d
packages/core/rollup.config.mjs
@@ -32,6 +32,11 @@ const plugins = [
32
wasmPlugin(),
33
]
34
35
+const external = [
36
+ 'hast',
37
+ '@shikijs/vscode-textmate',
38
+]
39
+
40
export default defineConfig([
41
{
42
input: entries,
@@ -46,6 +51,7 @@ export default defineConfig([
46
51
plugins: [
47
52
...plugins,
48
53
],
54
+ external,
49
55
},
50
56
57
@@ -70,9 +76,7 @@ export default defineConfig([
70
76
if (!/Circular|an empty chunk/.test(warning.message))
71
77
warn(warning)
72
78
73
- external: [
74
- 'hast',
75
- ],
79
80
81
])
82
0 commit comments