Skip to content

Commit

Permalink
fix: warnings about invalid dependencies on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bravo-kernel committed Jan 4, 2024
1 parent 5548d26 commit e1d21dd
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

0 comments on commit e1d21dd

Please sign in to comment.