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

- Added JSX support and correctly externalized react/pdf dependencies in esbuild.
- Fixed acquisition-library exports by removing missing DINLayout reference.
- Standardized extension entry points across all modules.
This commit is contained in:
2026-02-12 21:26:30 +01:00
parent 81deaf447f
commit 30ff08c66d
4 changed files with 62 additions and 3 deletions

View File

@@ -45,6 +45,11 @@ build({
}).then(() => {
console.log("Build succeeded!");
}).catch((e) => {
console.error("Build failed:", e);
if (e.errors) {
console.error("Build failed with errors:");
e.errors.forEach(err => console.error(` ${err.text} at ${err.location?.file}:${err.location?.line}`));
} else {
console.error("Build failed:", e);
}
process.exit(1);
});