Skip to content

Commit

Permalink
fix: warnings about invalid dependencies on Windows (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
bravo-kernel authored Jan 4, 2024
1 parent 5548d26 commit 5f07937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loader/src/webpackLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Please check that \`catalogs.path\` is filled properly.\n`

const { locale, catalog } = fileCatalog
const dependency = await getCatalogDependentFiles(catalog, locale)
dependency.forEach((file) => this.addDependency(file))
dependency.forEach((file) => this.addDependency(path.normalize(file)))

const messages = await catalog.getTranslations(locale, {
fallbackLocales: config.fallbackLocales,
Expand Down

1 comment on commit 5f07937

@vercel
Copy link

@vercel vercel bot commented on 5f07937 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.