if DEBUG: DJANGO_VITE_DEV_MODE = True else: DJANGO_VITE = { "default" : { "manifest_path" : BASE_DIR / "static_generated" / "dist" / "manifest.json" # specify the path to manifest.json } } INSTALLED_APPS += [ 'django_vite' ] # add django_vite to existing installed apps. DJANGO_VITE_ASSETS_PATH = BASE_DIR / "core" STATICFILES_DIRS = [ DJANGO_VITE_ASSETS_PATH, BASE_DIR / "static" / "dist", # add the path used as outdir here BASE_DIR / "static", ]