
  import { defineConfig } from 'vite';
  import react from '@vitejs/plugin-react-swc';
import * as path from 'path';

  export default defineConfig({
    plugins: [react()],
    resolve: {
      extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'],
      alias: {
        'vaul@1.1.2': 'vaul',
        'sonner@2.0.3': 'sonner',
        'recharts@2.15.2': 'recharts',
        'react-resizable-panels@2.1.7': 'react-resizable-panels',
        'react-hook-form@7.55.0': 'react-hook-form',
        'react-day-picker@8.10.1': 'react-day-picker',
        'next-themes@0.4.6': 'next-themes',
        'lucide-react@0.487.0': 'lucide-react',
        'input-otp@1.4.2': 'input-otp',
        'figma:asset/f744b0d7006fc6835cbbb274a3da305f5e2da694.png': path.resolve(__dirname, './src/assets/f744b0d7006fc6835cbbb274a3da305f5e2da694.png'),
        'figma:asset/e96a0ba8c1e8ee053e3eb462a3b4552a8657e7b6.png': path.resolve(__dirname, './src/assets/e96a0ba8c1e8ee053e3eb462a3b4552a8657e7b6.png'),
        'figma:asset/e8091276ed2c976b5c975f21687b0d1702bd9c90.png': path.resolve(__dirname, './src/assets/e8091276ed2c976b5c975f21687b0d1702bd9c90.png'),
        'figma:asset/e6f059f48d3002a2b93fc24b73fa49b61b8cd3ab.png': path.resolve(__dirname, './src/assets/e6f059f48d3002a2b93fc24b73fa49b61b8cd3ab.png'),
        'figma:asset/e1947d1a05cd5bbd448c1ae6e6e9f2abd5d4ca10.png': path.resolve(__dirname, './src/assets/e1947d1a05cd5bbd448c1ae6e6e9f2abd5d4ca10.png'),
        'figma:asset/da41b2748c2a938ba04e1663f300d2ad340eef5f.png': path.resolve(__dirname, './src/assets/da41b2748c2a938ba04e1663f300d2ad340eef5f.png'),
        'figma:asset/cd153b02eb88c70a1ae2ef3b926d2e44cbcb8dd9.png': path.resolve(__dirname, './src/assets/cd153b02eb88c70a1ae2ef3b926d2e44cbcb8dd9.png'),
        'figma:asset/b508859d8646554ff359c4dadcedccdfca7e7bfb.png': path.resolve(__dirname, './src/assets/b508859d8646554ff359c4dadcedccdfca7e7bfb.png'),
        'figma:asset/916a2ac02159f19d4e05b6fbbad76f315c8dfb66.png': path.resolve(__dirname, './src/assets/916a2ac02159f19d4e05b6fbbad76f315c8dfb66.png'),
        'figma:asset/8b0be768b2331d5dcd1154cf3d9e4dc61e3d3afb.png': path.resolve(__dirname, './src/assets/8b0be768b2331d5dcd1154cf3d9e4dc61e3d3afb.png'),
        'figma:asset/85a189eb1e1976493720fa5345a5f387c5edcc1a.png': path.resolve(__dirname, './src/assets/85a189eb1e1976493720fa5345a5f387c5edcc1a.png'),
        'figma:asset/7b71a56a728fd21bca72228b78511c0072a1505f.png': path.resolve(__dirname, './src/assets/7b71a56a728fd21bca72228b78511c0072a1505f.png'),
        'figma:asset/79434fd2c5fcae2b17fa09533dfcdb8584ce39c1.png': path.resolve(__dirname, './src/assets/79434fd2c5fcae2b17fa09533dfcdb8584ce39c1.png'),
        'figma:asset/76883b8919dd779e35f1ab093b16410f6a465b3d.png': path.resolve(__dirname, './src/assets/76883b8919dd779e35f1ab093b16410f6a465b3d.png'),
        'figma:asset/7077e1c38ee5bed14f41c98d52f5460c44c3a631.png': path.resolve(__dirname, './src/assets/7077e1c38ee5bed14f41c98d52f5460c44c3a631.png'),
        'figma:asset/6c1d7aa4854f71023510e35ac1f4eb623441cb4a.png': path.resolve(__dirname, './src/assets/6c1d7aa4854f71023510e35ac1f4eb623441cb4a.png'),
        'figma:asset/66c6d4d2fa6c02d9f60e12fcde70c13d4a78d0b7.png': path.resolve(__dirname, './src/assets/66c6d4d2fa6c02d9f60e12fcde70c13d4a78d0b7.png'),
        'figma:asset/5da1b0444c0d21bc7ee776c49e36e2a8ea4d3e12.png': path.resolve(__dirname, './src/assets/5da1b0444c0d21bc7ee776c49e36e2a8ea4d3e12.png'),
        'figma:asset/5c46ee69599a58ad1a03823f5a76362b6aa14852.png': path.resolve(__dirname, './src/assets/5c46ee69599a58ad1a03823f5a76362b6aa14852.png'),
        'figma:asset/574712bba8c579e168f68da6e27f45e0a691dc54.png': path.resolve(__dirname, './src/assets/574712bba8c579e168f68da6e27f45e0a691dc54.png'),
        'figma:asset/5566b83072321980379e10ac9007fb546b9d5437.png': path.resolve(__dirname, './src/assets/5566b83072321980379e10ac9007fb546b9d5437.png'),
        'figma:asset/52f02fe505fbc40e6338ebec9cbd919bca7657db.png': path.resolve(__dirname, './src/assets/52f02fe505fbc40e6338ebec9cbd919bca7657db.png'),
        'figma:asset/4a96daf4aee4ef525cd3be5298de82d1697d6961.png': path.resolve(__dirname, './src/assets/4a96daf4aee4ef525cd3be5298de82d1697d6961.png'),
        'figma:asset/48312b6a6d62d8c34cca1cf135001fea23d6e195.png': path.resolve(__dirname, './src/assets/48312b6a6d62d8c34cca1cf135001fea23d6e195.png'),
        'figma:asset/43f3bc1f9c8cc5b8f60f3f6be0bc1ad29eded0d7.png': path.resolve(__dirname, './src/assets/43f3bc1f9c8cc5b8f60f3f6be0bc1ad29eded0d7.png'),
        'figma:asset/394719dd82255b7b60801f8ae7c81a0e3514bd13.png': path.resolve(__dirname, './src/assets/394719dd82255b7b60801f8ae7c81a0e3514bd13.png'),
        'figma:asset/1e3bcb27a765c642a88aed36ef1b72f08a715dc6.png': path.resolve(__dirname, './src/assets/1e3bcb27a765c642a88aed36ef1b72f08a715dc6.png'),
        'figma:asset/183ba346669a0a079762ab3f9535b7d1469ed4d9.png': path.resolve(__dirname, './src/assets/183ba346669a0a079762ab3f9535b7d1469ed4d9.png'),
        'figma:asset/090c0a16f783254412cc67914fb0ed3cd9edfad3.png': path.resolve(__dirname, './src/assets/090c0a16f783254412cc67914fb0ed3cd9edfad3.png'),
        'figma:asset/03b75e940c0ed36f1fbd27725d52152720984f86.png': path.resolve(__dirname, './src/assets/03b75e940c0ed36f1fbd27725d52152720984f86.png'),
        'embla-carousel-react@8.6.0': 'embla-carousel-react',
        'cmdk@1.1.1': 'cmdk',
        'class-variance-authority@0.7.1': 'class-variance-authority',
        '@radix-ui/react-tooltip@1.1.8': '@radix-ui/react-tooltip',
        '@radix-ui/react-toggle@1.1.2': '@radix-ui/react-toggle',
        '@radix-ui/react-toggle-group@1.1.2': '@radix-ui/react-toggle-group',
        '@radix-ui/react-tabs@1.1.3': '@radix-ui/react-tabs',
        '@radix-ui/react-switch@1.1.3': '@radix-ui/react-switch',
        '@radix-ui/react-slot@1.1.2': '@radix-ui/react-slot',
        '@radix-ui/react-slider@1.2.3': '@radix-ui/react-slider',
        '@radix-ui/react-separator@1.1.2': '@radix-ui/react-separator',
        '@radix-ui/react-select@2.1.6': '@radix-ui/react-select',
        '@radix-ui/react-scroll-area@1.2.3': '@radix-ui/react-scroll-area',
        '@radix-ui/react-radio-group@1.2.3': '@radix-ui/react-radio-group',
        '@radix-ui/react-progress@1.1.2': '@radix-ui/react-progress',
        '@radix-ui/react-popover@1.1.6': '@radix-ui/react-popover',
        '@radix-ui/react-navigation-menu@1.2.5': '@radix-ui/react-navigation-menu',
        '@radix-ui/react-menubar@1.1.6': '@radix-ui/react-menubar',
        '@radix-ui/react-label@2.1.2': '@radix-ui/react-label',
        '@radix-ui/react-hover-card@1.1.6': '@radix-ui/react-hover-card',
        '@radix-ui/react-dropdown-menu@2.1.6': '@radix-ui/react-dropdown-menu',
        '@radix-ui/react-dialog@1.1.6': '@radix-ui/react-dialog',
        '@radix-ui/react-context-menu@2.2.6': '@radix-ui/react-context-menu',
        '@radix-ui/react-collapsible@1.1.3': '@radix-ui/react-collapsible',
        '@radix-ui/react-checkbox@1.1.4': '@radix-ui/react-checkbox',
        '@radix-ui/react-avatar@1.1.3': '@radix-ui/react-avatar',
        '@radix-ui/react-aspect-ratio@1.1.2': '@radix-ui/react-aspect-ratio',
        '@radix-ui/react-alert-dialog@1.1.6': '@radix-ui/react-alert-dialog',
        '@radix-ui/react-accordion@1.2.3': '@radix-ui/react-accordion',
        '@': path.resolve(__dirname, './src'),
      },
    },
    build: {
      target: 'esnext',
      outDir: 'build',
    },
    server: {
      port: 4009,
      open: true,
    },
  });