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

Paul Derscheid <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Paul Derscheid <[email protected]> ---
So this is not directly a problem since datatables and jquery are available as
globals in compatible versions.

On resolution, yarn just can't find them because they are not in package.json
and not installed via that route yet.

The patch would add them, but we would still continue using the static version
in koha-tmpl/{intranet,opac}-tmpl/lib/.

To make at least the datatables.net-vue use them, we would need to remove
datatables.net and jquery from the externals field in rspack.config.js, but
then they would get bundled inside the vue assets and that would essentially be
duplication because they are already available as globals.

The better solution would be to either copy the version from node_modules to
the static lib dirs at build time or to make Asset.pm scan node_modules.

Since we are essentially tracking the versions we use in package.json via this
patch, just not copying it yet, it could still be a valid way to silence the
warnings, but more work is needed here.

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