Skip to content

Commit

Permalink
fix(misc): using normalizePath for tailwindcss config generation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
IKatsuba committed Dec 20, 2022
1 parent 5e5892f commit 87a6a2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/workspace/src/utilities/generate-globs.ts
@@ -1,4 +1,4 @@
import { joinPathFragments, logger } from '@nrwl/devkit';
import { joinPathFragments, logger, normalizePath } from '@nrwl/devkit';
import { workspaceRoot } from 'nx/src/utils/workspace-root';
import { dirname, join, relative, resolve } from 'path';
import { readCachedProjectGraph } from 'nx/src/project-graph/project-graph';
Expand Down Expand Up @@ -30,7 +30,9 @@ export function createGlobPatternsForDependencies(
fileGlobPattern: string
): string[] {
let ig = configureIgnore();
const filenameRelativeToWorkspaceRoot = relative(workspaceRoot, dirPath);
const filenameRelativeToWorkspaceRoot = normalizePath(
relative(workspaceRoot, dirPath)
);
const projectGraph = readCachedProjectGraph();
const projectRootMappings = createProjectRootMappings(projectGraph.nodes);

Expand Down

0 comments on commit 87a6a2d

Please sign in to comment.