fix(acquisition): standardize bundling and externalize React/PDF dependencies

- Added JSX support to esbuild configuration.
- Externalized react, react-dom, and @react-pdf/renderer to avoid redundant bundling.
- Updated acquisition-library exports for modular PDF generation.
This commit is contained in:
2026-02-12 21:24:15 +01:00
parent a0ebc58d6d
commit 81deaf447f
14 changed files with 394 additions and 4 deletions

View File

@@ -4,3 +4,13 @@ export * from "./logic/pricing/calculator.js";
export * from "./services/AcquisitionService.js";
export * from "./services/PdfEngine.js";
export * from "./components/EstimationPDF.js";
export * from "./components/pdf/DINLayout.js";
export * from "./components/pdf/SimpleLayout.js";
export * from "./components/pdf/SharedUI.js";
export * from "./components/pdf/modules/FrontPageModule.js";
export * from "./components/pdf/modules/BriefingModule.js";
export * from "./components/pdf/modules/SitemapModule.js";
export * from "./components/pdf/modules/EstimationModule.js";
export * from "./components/pdf/modules/CommonModules.js";
export * from "./components/pdf/modules/BrandingModules.js";
export * from "./components/pdf/modules/TransparenzModule.js";