Skip to content

Commit

Permalink
some more v2 prep, adding the required settings to remove warnings wh…
Browse files Browse the repository at this point in the history
…en building remix app
  • Loading branch information
DonKoko committed Jul 26, 2023
1 parent a40d59e commit b050ea2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions remix.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const { flatRoutes } = require("remix-flat-routes");

module.exports = {
ignoredRouteFiles: ["**/.*"],
serverModuleFormat: "cjs",
serverDependenciesToBundle: ["maplibre-gl"],
routes: async (defineRoutes) => {
return flatRoutes("routes", defineRoutes);
Expand All @@ -13,7 +14,9 @@ module.exports = {
future: {
v2_dev: true,
v2_meta: true,
v2_headers: true,
v2_routeConvention: true,
v2_errorBoundary: true,
v2_normalizeFormMethod: true,
},
};

0 comments on commit b050ea2

Please sign in to comment.