Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

add alias for components directory in Svelte config

Tonho5cb73d943b39
diff --git a/svelte.config.js b/svelte.config.js
index a7830eaa..f593a01c 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -12,6 +12,9 @@ const config = {
adapter: adapter({
fallback: "index.html",
}),
+ alias: {
+ "$components": "src/components",
+ },
},
};