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

--- Comment #52 from Paul Derscheid <[email protected]> ---
Created attachment 198938
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198938&action=edit
Bug 42189: (QA follow-up) Document import map ordering constraint

- Add a TT comment above the import map in doc-head-close.inc
  explaining it must precede every type="module" script that
  uses bare specifiers, per the HTML spec
- Spell out the practical rule: do not move the block below any
  module-script tag, and do not inline a module script in <head>
  before this point, otherwise bare imports break silently

To test:
- Load any Vue module page (e.g. /cgi-bin/koha/erm/erm.pl)
- View source and confirm the import map renders above the
  bundle <script> tag; DevTools shows no warnings about an
  import map arriving too late

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