Wikimedia Tech Talks: ResourceLoader tips and tricks
Channel: MediaWiki
Date: 23/10/2019

Speaker:  Roan Kattouw

Did you know that you could require() files in JavaScript? That you could make your own icon modules with 10 lines of code? That there's a new way to export configuration variables to JavaScript?

Learn about new ResourceLoader features introduced this year, and how you can use them to improve your code.

We'll start with a quick introduction to ResourceLoader, then dive into some of the advanced features like require(), config var bundling, generated JSON files and icon modules.