-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathremix.config.js
37 lines (37 loc) · 1.19 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
/** @type {import('@remix-run/dev').AppConfig} */
export default {
ignoredRouteFiles: ["**/.*"],
routes(defineRoutes) {
return defineRoutes((route) => {
// postId를 동적 파라미터로 사용하여 라우팅 설정
route(":postId", "routes/_p.[postId]/route.tsx");
// route("_auth.sign-up", "routes/_auth.sign-up/route.tsx");
// route(
// "_auth.sign-up/agreement",
// "routes/_auth.sign-up/agreement/route.tsx"
// );
// route(
// "_auth.sign-up/basic-info",
// "routes/_auth.sign-up/basic-info/route.tsx"
// );
// route(
// "_auth.sign-up/extra-info",
// "routes/_auth.sign-up/extra-info/route.tsx"
// );
// route("sign-up/agreement", "routes/_auth.sign-up/agreement/route.tsx");
});
},
// appDirectory: "app",
// assetsBuildDirectory: "public/build",
// publicPath: "/build/",
// serverBuildPath: "build/index.js",
browserNodeBuiltinsPolyfill: {
modules: { crypto: true, fs: true, path: true },
server: {
// 업로드 파일 크기 제한을 늘리는 설정
upload: {
diskSize: 1024 * 1024 * 10, // 예: 10MB 크기로 설정
},
},
},
};