Chunk more imports to reduce individual chunk size

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-01-09 10:45:01 +01:00
parent ccacd824a6
commit a301224c58
+8 -1
View File
@@ -70,7 +70,14 @@ export default defineConfig({
"@walletconnect/client",
],
cache: ["lru-cache", "@stardazed/streams"],
markdown: ["katex", "dompurify", "marked", "@radicle/gray-matter"],
markdown: [
"@radicle/gray-matter",
"dompurify",
"hast-util-to-dom",
"hast-util-to-html",
"katex",
"marked",
],
syntax: ["@wooorm/starry-night"],
grammarsTsx: [
"@wooorm/starry-night/lang/source.ts.js",