moodle/theme
Andrew Nicols 2528569425 MDL-73915 js: Switch amd minification to terser
Unfortunately the babel minify-mangle plugin seems to be abandoned and
in certain circumstances can be very buggy. The only safe options are to
disable it, or to switch to a different minification library.

Not minifying our javascript is not ideal, so this commit updates the
javascript tasks to use a rollup, combined with babel, and terser.

Babel still converts code from ES/UMD/AMD to AMD modules with the
relevant browser support, whilst terser minifies the code.

The rollup bundler handles tracking and creation of sourcemaps, and
supports better parallelisation of the tasks.

Since the upgrade to Node LTS/Gallium requires an upgrade to @babel/core
and eslint, which change the built files anyway, this seems like the
ideal time to make this change.
2022-02-22 14:16:08 +08:00
..
boost MDL-73915 js: Switch amd minification to terser 2022-02-22 14:16:08 +08:00
classic Merge branch 'MDL-72688-310' of git://github.com/rezaies/moodle into MOODLE_310_STABLE 2021-11-05 11:23:50 +08:00
font.php
image.php
index.php MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-19 08:29:50 +08:00
javascript.php
jquery.php
styles.php MDL-67348 theme: Return CSS from localcache if available 2019-11-26 07:24:45 +08:00
styles_debug.php MDL-55751 themes: remove the css chunker 2019-09-09 11:18:05 +02:00
switchdevice.php
upgrade.txt MDL-69479 core: Change 4.0 to 3.10 in theme/upgrade.txt 2020-08-24 14:08:46 +08:00
yui_combo.php MDL-68426 theme: Set a limit on paths length in yui_combo 2020-07-09 10:05:59 +08:00
yui_image.php