@asafarim/react-privacy-consent
Version:
A comprehensive React TypeScript package for GDPR/CCPA privacy consent management with customizable UI components
20 lines (18 loc) • 445 B
text/typescript
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
return {
plugins: [react()],
base: '/react-privacy-consent/', // Match the repository name for GitHub Pages
server: {
port: 3005,
open: true
},
build: {
outDir: 'dist',
sourcemap: true,
assetsDir: 'assets'
},
};
})