-
Notifications
You must be signed in to change notification settings - Fork 0
/
remix.config.js
43 lines (42 loc) · 1.06 KB
/
remix.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
ignoredRouteFiles: ["**/.*"],
tailwind: true,
// When running locally in development mode, we use the built-in remix
// server. This does not understand the vercel lambda module format,
// so we default back to the standard build output.
server: process.env.NODE_ENV === "development" ? undefined : "./server.ts",
serverBuildPath: "api/index.js",
// appDirectory: "app",
// assetsBuildDirectory: "public/build",
// publicPath: "/build/",
serverBuildTarget: 'vercel',
future: {
v2_errorBoundary: true,
v2_meta: true,
v2_normalizeFormMethod: true,
v2_routeConvention: true,
},
serverDependenciesToBundle: [
/^rehype.*/,
/^remark.*/,
/^unified.*/,
/^unist.*/,
/^hast.*/,
/^bail.*/,
/^trough.*/,
/^mdast.*/,
/^micromark.*/,
/^decode.*/,
/^character.*/,
/^property.*/,
/^space.*/,
/^comma.*/,
/^react-markdown$/,
/^vfile.*/,
/^ccount*/,
/^markdown-table*/,
/^axios*/,
/^slick-carousel*/,
]
};