https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189

--- Comment #57 from Paul Derscheid <[email protected]> ---
Created attachment 201076
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201076&action=edit
Bug 42189: (QA follow-up) Switch ILL dashboard template to ESM

- Bug 37762 (VueJS ILL module) landed in main after this patch set
  was first written, so ill.tt was not covered by the earlier
  "Switch Vue module templates to ESM bundles" change
- rspack now builds ill as an ESM bundle (ill.esm.js) only; the
  legacy ill.js is no longer produced, so ill.tt's old
  Asset.js("js/vue/dist/ill.js") include 404s on this branch
- Load islands.esm.js and ill.esm.js as type="module" nonced
  script tags, matching erm/preservation/acquisitions/sip2 and
  enabling plugin widget discovery on the ILL dashboard

To test:
- yarn js:build, verify ill.esm.js is produced
- Load /cgi-bin/koha/ill/ill.pl
- View source; confirm islands.esm.js and ill.esm.js load via
  <script src="..." type="module" nonce="..."></script>
- Confirm the ILL dashboard renders with no console errors

-- 
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/

Reply via email to