diff --git a/django_deno/sourcefile.py b/django_deno/sourcefile.py index 5d0c19a..b846514 100644 --- a/django_deno/sourcefile.py +++ b/django_deno/sourcefile.py @@ -75,6 +75,8 @@ def has_rollup_hint(self): return False def should_rollup(self, short_path): + if '\\' in short_path: + short_path = short_path.replace('\\', '/') if settings.DENO_ENABLE: if short_path in settings.DENO_ROLLUP_ENTRY_POINTS: return True