Files
stockhome/shared/scripts
theis.gaedigkandCopilot d486655f54 Fix ES module/CommonJS mismatch in shared package
- Rename CommonJS build output from .js to .cjs extensions
- Add .js extensions to ESM imports (required by Node.js)
- Add .cjs extensions to CommonJS requires
- Add post-build scripts for both ESM and CommonJS builds
- Update package.json exports to reference .cjs files for require()

Fixes: ReferenceError: exports is not defined in ES module scope

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-08 15:23:06 +02:00
..