https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189
--- Comment #41 from Paul Derscheid <[email protected]> --- Created attachment 198927 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198927&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 <[email protected]> Signed-off-by: Thomas Klausner <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
