From f05a472585b2506da21aed71f0252b2d4c04a221 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 5 Feb 2024 04:15:02 +0530 Subject: React Slides * Adds useState * State * useEffect * Side Effects --- vite.config.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vite.config.ts (limited to 'vite.config.ts') diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..023ffc1 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,19 @@ +import { defineConfig } from 'vite' +import { svelte } from '@sveltejs/vite-plugin-svelte' +import path from 'path' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [svelte()], + resolve: { + alias: { + '@config': path.resolve(__dirname, './src/config.ts'), + '@components': path.resolve(__dirname, './src/lib/components/index.ts'), + '@motion': path.resolve(__dirname, './src/lib/motion/index.ts'), + '@languages': path.resolve(__dirname, './src/lib/languages/index.ts'), + '@lib': path.resolve(__dirname, './src/lib'), + '@stores': path.resolve(__dirname, './src/lib/stores'), + '@styles': path.resolve(__dirname, './src/lib/styles'), + }, + }, +}) -- cgit v1.2.3