forked from Sendouc/sendou.ink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remix.config.js
44 lines (41 loc) · 1.82 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
44
/**
* @type {import('@remix-run/dev').AppConfig}
*/
module.exports = {
ignoredRouteFiles: ["**/.*", "**/*.json", "**/components/*"],
cacheDirectory: process.env.NODE_ENV === "test" ? ".cache-test" : undefined,
routes: async (defineRoutes) => {
return defineRoutes((route) => {
route("/upload", "features/img-upload/routes/upload.tsx");
route("/upload/admin", "features/img-upload/routes/upload.admin.tsx");
route("/plans", "features/map-planner/routes/plans.tsx");
route("/analyzer", "features/build-analyzer/routes/analyzer.tsx");
route(
"/object-damage-calculator",
"features/object-damage-calculator/routes/object-damage-calculator.tsx"
);
route("/to/:id", "features/tournament/routes/to.$id.tsx", () => {
route("/to/:id", "features/tournament/routes/to.$id.index.tsx");
route(
"/to/:id/register",
"features/tournament/routes/to.$id.register.tsx"
);
route("/to/:id/teams", "features/tournament/routes/to.$id.teams.tsx");
route("/to/:id/join", "features/tournament/routes/to.$id.join.tsx");
});
route("/privacy-policy", "features/info/routes/privacy-policy.tsx");
route("/support", "features/info/routes/support.tsx");
route("/t", "features/team/routes/t.tsx");
route("/t/:customUrl", "features/team/routes/t.$customUrl.tsx");
route("/t/:customUrl/edit", "features/team/routes/t.$customUrl.edit.tsx");
route(
"/t/:customUrl/roster",
"features/team/routes/t.$customUrl.roster.tsx"
);
route("/t/:customUrl/join", "features/team/routes/t.$customUrl.join.tsx");
route("/vods", "features/vods/routes/vods.tsx");
route("/vods/new", "features/vods/routes/vods.new.tsx");
route("/vods/:id", "features/vods/routes/vods.$id.tsx");
});
},
};