Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291320

[meta] Ship minified versions of external JavaScript libraries

$
0
0

We should ship both minified versions of every third party JavaScript library in core.

This will probably be done as a part of #2203431: [meta] Various asset (JavaScript) libraries have to be updated to a stable release prior to 8.0.0.

Libraries

  • jQuery
  • jQuery UI

Proposed solution

Go through third party libraries added in core.
Find a minified version of the library matching each version
Post a patch to switch.

Potential follow-up

Include both minified and un-minified versions in core, and a switch to change between them.

Original report by catch

#1328900: Update to jQuery 1.7 added an un-minified version of jQuery to core to ease debugging during the 8.x cycle. This is a great idea but we need an issue open to make sure that we remember to switch to the minified one prior to release.


Viewing all articles
Browse latest Browse all 291320

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>