diff options
| -rw-r--r-- | src/components/LandingHeader.svelte | 2 | ||||
| -rw-r--r-- | vite.config.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte index 89f4014f..92558777 100644 --- a/src/components/LandingHeader.svelte +++ b/src/components/LandingHeader.svelte @@ -1,6 +1,6 @@ <script> import { goto } from '$app/navigation'; - import { scroll } from '../lib/utils'; + import { scroll } from '$utils'; import { Icon } from '$comp'; export let howItWorks; diff --git a/vite.config.js b/vite.config.js index bb04f608..ca2ac7aa 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,7 +6,8 @@ const config = { plugins: [sveltekit()], resolve: { alias: { - $comp: path.resolve('src/components/index.js') + $comp: path.resolve('src/components/index.js'), + $utils: path.resolve('src/lib/utils.js') } } }; |
