projects/democratic_fine_tuning/remix.config.js (42 lines of code) (raw):
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
ignoredRouteFiles: ["**/.*"],
// appDirectory: "app",
// assetsBuildDirectory: "public/build",
// serverBuildPath: "build/index.js",
// publicPath: "/build/",
serverModuleFormat: "cjs",
// See https://github.com/remix-run/remix/discussions/2594.
serverDependenciesToBundle: [
/^d3.*/,
/^delaunator.*/,
/^internmap.*/,
/^robust-predicates.*/,
/^rehype.*/,
/^remark.*/,
/^unified.*/,
/^unist.*/,
/^hast.*/,
/^bail.*/,
/^trough.*/,
/^mdast.*/,
/^micromark.*/,
/^decode.*/,
/^character.*/,
/^property.*/,
/^space.*/,
/^comma.*/,
/^react-markdown$/,
/^vfile.*/,
/^ccount*/,
/^markdown-table*/,
/^longest-streak.*/,
/^is-plain-obj.*/,
/^escape-string-regexp.*/,
/^trim-lines.*/,
],
tailwind: true,
future: {
v2_dev: true,
v2_errorBoundary: true,
v2_headers: true,
v2_meta: true,
v2_normalizeFormMethod: true,
v2_routeConvention: true,
},
sourcemap: true,
}