moodle/question/bank
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
..
bulkmove MDL-71696 core_question: class autoload changes 2022-02-03 22:22:50 +11:00
comment MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
customfields MDL-73812 lang: Import fixed English strings (en_fix) 2022-02-18 15:50:26 +00:00
deletequestion MDL-71696 core_question: class autoload changes 2022-02-03 22:22:50 +11:00
editquestion MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
exportquestions MDL-72413 questions: Disable the common activity header 2021-12-13 09:49:35 +08:00
exporttoxml MDL-71696 core_question: class autoload changes 2022-02-03 22:22:50 +11:00
importquestions MDL-71696 core_question: class autoload changes 2022-02-03 22:22:50 +11:00
managecategories MDL-71696 core_question: class autoload changes 2022-02-03 22:22:50 +11:00
previewquestion MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
statistics MDL-73350 qbank_statistics: Discrimination index column update 2021-12-15 15:02:16 +11:00
tagquestion MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
usage MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
viewcreator MDL-71696 core_question: Implement question status change 2022-02-03 22:22:50 +11:00
viewquestionname MDL-71696 core_question: Changes for versioning 2022-02-03 22:22:44 +11:00
viewquestiontext MDL-71696 core_question: Changes for versioning 2022-02-03 22:22:44 +11:00
viewquestiontype MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
upgrade.txt