https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189 --- Comment #18 from Clemens Tubach <clemens.tubach@kit.edu> --- Created attachment 196551 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196551&action=edit Bug 42189: Build shared Vue runtime via ESM and import map - Restructure rspack.config.js into three config blocks: - Vue runtime ESM: builds vue-runtime.ts which re-exports all of Vue through DefinePlugin so feature flags (__VUE_OPTIONS_API__ etc.) are correctly applied in both development and production builds - App ESM bundles: all Vue modules (islands, erm, preservation, etc.) externalize vue via externalsType "module-import", resolved by the browser's import map to the shared vue.esm.js - Cypress CJS: unchanged - Add import map to doc-head-close.inc mapping "vue", "jQuery", and "DataTable" bare specifiers to their respective ESM files - Add jQuery and DataTables ESM shim files that re-export the globals loaded by classic script tags (window.jQuery, window.DataTable) - This ensures a single Vue runtime instance across all bundles, enabling Composition API reactivity to work across bundle boundaries Signed-off-by: Clemens Tubach <clemens.tubach@kit.edu> -- You are receiving this mail because: You are watching all bug changes.