Skip to content

Commit

Permalink
Fix windows new route bug (#168)
Browse files Browse the repository at this point in the history
* Fix windows new route bug

kiliman/remix-flat-routes#59

* bump headlessui

* Update yarn.lock

Becoming quite garbled, so deleted and recreated yarn.lock
  • Loading branch information
xHomu authored Jul 4, 2023
1 parent 086f802 commit 5e3275e
Show file tree
Hide file tree
Showing 3 changed files with 2,424 additions and 2,395 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@dnd-kit/modifiers": "^6.0.1",
"@dnd-kit/sortable": "^7.0.2",
"@dnd-kit/utilities": "^3.2.1",
"@headlessui/react": "^1.7.7",
"@headlessui/react": "^1.7.15",
"@heroicons/react": "^2.0.15",
"@payloadcms/plugin-cloud-storage": "^1.0.12",
"@radix-ui/react-checkbox": "^1.0.3",
Expand Down Expand Up @@ -109,7 +109,7 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.3",
"remix-flat-routes": "^0.5.7",
"remix-flat-routes": "^0.5.9",
"shx": "^0.3.4",
"tailwindcss": "^3.3.0",
"tailwindcss-bg-patterns": "^0.2.0",
Expand Down
8 changes: 6 additions & 2 deletions remix.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ module.exports = {
tailwind: true,
// postcss: true, // commented out to speed up hmr, uncomment if you need to use postcss.
publicPath: getPublicPath(),
ignoredRouteFiles: ["**/.*"],
// ignore all files in routes folder to prevent
// default remix convention from picking up routes
ignoredRouteFiles: ["**/*"],
routes: async (defineRoutes) => {
return flatRoutes(["routes", "_custom/routes"], defineRoutes);
return flatRoutes(["routes", "_custom/routes"], defineRoutes, {
ignoredRouteFiles: [".*"],
});
},
serverDependenciesToBundle: ["nanoid", "array-move"],
};
Loading

0 comments on commit 5e3275e

Please sign in to comment.