Skip to content

Instantly share code, notes, and snippets.

@devxpy
Created May 2, 2023 16:03
Show Gist options
  • Save devxpy/f3b224d28a8634193b4296dcfae6779d to your computer and use it in GitHub Desktop.
Save devxpy/f3b224d28a8634193b4296dcfae6779d to your computer and use it in GitHub Desktop.
import react-markdown in remix
serverDependenciesToBundle: [
"react-markdown",
"react-markdown-preview",
/^@mdx-js*/,
/^estree*/,
/^hast-*/,
/^parse5*/,
/^mdast*/,
/^micromark*/,
/^remark*/,
/^rehype*/,
/^unist-*/,
/^vfile*/,
"bail",
"character-entities",
"comma-separated-tokens",
"decode-named-character-reference",
"dequal",
"diff",
"hast-util-whitespace",
"kleur",
"mdast-util-definitions",
"mdast-util-from-markdown",
"mdast-util-to-hast",
"mdast-util-to-string",
"micromark",
"micromark-core-commonmark",
"micromark-factory-destination",
"micromark-factory-label",
"micromark-factory-space",
"micromark-factory-title",
"micromark-factory-whitespace",
"micromark-util-character",
"micromark-util-chunked",
"micromark-util-classify-character",
"micromark-util-combine-extensions",
"micromark-util-decode-numeric-character-reference",
"micromark-util-decode-string",
"micromark-util-encode",
"micromark-util-html-tag-name",
"micromark-util-normalize-identifier",
"micromark-util-resolve-all",
"micromark-util-sanitize-uri",
"micromark-util-subtokenize",
"micromark-util-symbol",
"micromark-util-types",
"mri",
"property-information",
"react-markdown",
"remark-parse",
"remark-rehype",
"sade",
"space-separated-tokens",
"style-to-object",
"trough",
"unified",
"unist-builder",
"unist-util-generated",
"unist-util-is",
"unist-util-position",
"unist-util-stringify-position",
"unist-util-visit",
"unist-util-visit-parents",
"uvu",
"vfile",
"vfile-message",
"emoticon",
"longest-streak",
"parse-entities",
"stringify-entities",
"escape-string-regexp",
"html-void-elements",
"web-namespaces",
"zwitch",
"ccount",
"markdown-table",
"is-plain-obj",
"trim-lines",
"character-entities-legacy",
"character-reference-invalid",
"is-decimal",
"is-hexadecimal",
"is-alphanumerical",
"character-entities-html4",
"is-alphabetical",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment