We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27a3b1 commit 192d353Copy full SHA for 192d353
packages/remix-dev/vite/styles.ts
@@ -198,7 +198,7 @@ export const getStylesForUrl = async ({
198
let appPath = path.relative(process.cwd(), reactRouterConfig.appDirectory);
199
let documentRouteFiles =
200
matchRoutes(routes, url, build.basename)?.map((match) =>
201
- path.join(appPath, reactRouterConfig.routes[match.route.id].file)
+ path.resolve(appPath, reactRouterConfig.routes[match.route.id].file)
202
) ?? [];
203
204
let styles = await getStylesForFiles({
0 commit comments