/** @type {import('@remix-run/dev').AppConfig} */ module.exports = { cacheDirectory: "./node_modules/.cache/remix", ignoredRouteFiles: ["**/.*", "**/*.test.{ts,tsx}"], serverModuleFormat: "cjs", serverDependenciesToBundle: [ // this is for mdx fucking editor /^@mdxeditor.*/, "ccount", "devlop", "stringify-entities", "vfile-message", /^micromark.*/, /^estree.*/, /^unist.*/, /^mdast.*/, /^zwitch.*/, "longest-streak", "decode-named-character-reference", /^character-entities.*/, "markdown-table", "fault", "parse-entities", /^character-reference.*/, /^is-.*/, "escape-string-regexp", // If you installed is-ip optional dependency you will need these too /^remix-utils.*/, "is-ip", "ip-regex", "super-regex", "clone-regexp", "function-timeout", "time-span", "convert-hrtime", "is-regexp", ], };