Implement PDF export feature with both synchronous and asynchronous modes. Includes: - New cv-export-server service using Puppeteer - Shared printable HTML builder module - ExportControls React component with job status tracking - Classic template for PDF output - API endpoints for job management The system supports cancelable async jobs with polling and error handling. Both client and server share the same HTML rendering logic via the shared-printable module.
13 lines
213 B
TypeScript
13 lines
213 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
fs: {
|
|
allow: ['..']
|
|
}
|
|
}
|
|
})
|