Skip to content

Commit

Permalink
docs(vite): add further comment to explain change
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Dec 12, 2024
1 parent 607bf62 commit 1cbeed5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vite/src/utils/nx-tsconfig-paths-find-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function findFile(
for (const ext of extensions) {
const dir = dirname(path);
// Support file extensions such as .css and .js in the import path.
// While still allowing for '.suffix'
const name = basename(queryLessPath, ext);

const resolvedPath = resolve(dir, name + ext);
Expand Down

0 comments on commit 1cbeed5

Please sign in to comment.