Skip to content

Commit be66f5f

Browse files
committed
Normalize path for Windows
1 parent 09a0598 commit be66f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/external-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const unplugin = createUnplugin((options: ExternalPluginOptions, meta) =>
8181
for (const locale of options.locales) {
8282
const ftlPath = normalizePath(resolvedOptions.getFtlPath(locale, id))
8383
const ftlExists = await fileExists(ftlPath)
84-
const relativeFtlPath = relative(dirname(id), ftlPath)
84+
const relativeFtlPath = normalizePath(relative(dirname(id), ftlPath))
8585

8686
if (ftlExists) {
8787
dependencies.push({

0 commit comments

Comments
 (0)