UNPKG

asafarim-navlinks

Version:

A versatile React navigation component with unlimited multi-level dropdowns, four alignment options, mobile responsiveness, and customizable styling. Perfect for modern web applications.

32 lines (30 loc) 664 B
import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import { resolve } from 'path' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], server: { port: 3000, open: true }, base: './', // Set the base path for GitHub Pages deployment build: { outDir: 'dist', assetsDir: 'assets', sourcemap: true, // Ensure assets are properly referenced rollupOptions: { output: { manualChunks: { react: ['react', 'react-dom'], } } } }, resolve: { alias: { '@': resolve(__dirname, 'src'), }, } })