Skip to content

Instantly share code, notes, and snippets.

@RamiAwar
Created August 3, 2022 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RamiAwar/50198e463cec649c685047925c18c051 to your computer and use it in GitHub Desktop.
Save RamiAwar/50198e463cec649c685047925c18c051 to your computer and use it in GitHub Desktop.
Vite Config
import { sveltekit } from '@sveltejs/kit/vite';
import path from 'path';
/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit()],
resolve: {
alias: {
$lib: path.resolve('./src/lib')
}
}
};
export default config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment