Skip to content

Commit 2a4a882

Browse files
committed
fix
1 parent 71510b2 commit 2a4a882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export default function livewire(config?: PluginConfig | string | string[]): Liv
270270

271271
let includeInRefresh = true;
272272
ctx.modules[0].importers.forEach(importer => {
273-
//@ts-expect-error
273+
//@ts-expect-error may be nullish depending on npm used version
274274
includeInRefresh = !importer.file?.endsWith(path) ?? false;
275275
});
276276
return includeInRefresh;

0 commit comments

Comments
 (0)