moodle/blocks/starredcourses
Andrew Nicols 0a4047ab31 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-23 08:55:09 +08:00
..
amd MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
classes MDL-66851 block_starredcourses: Hide 'hidden' courses from students 2019-10-08 09:52:37 +08:00
db MDL-63995 blocks: Remove unused capabilities and warning. 2019-03-25 12:20:13 +13:00
lang/en MDL-64438 block_starredcourses: Optionally show course category 2019-09-18 17:58:24 +08:00
pix
templates MDL-64438 block_starredcourses: Optionally show course category 2019-09-18 17:58:24 +08:00
block_starredcourses.php MDL-65400 block: Support returning settings for core blocks 2019-10-23 15:33:56 +02:00
settings.php MDL-64438 block_starredcourses: Optionally show course category 2019-09-18 17:58:24 +08:00
upgrade.txt MDL-64438 block_starredcourses: Optionally show course category 2019-09-18 17:58:24 +08:00
version.php MDL-69475 versions: bump all versions and requires in master 2020-08-18 00:47:15 +02:00