Page MenuHomePhabricator

Serve modern JavaScript to modern clients
Closed, ResolvedPublic


vue-cli features a modern mode, where modern browsers get JavaScript that uses modern syntax features (which reduces bundle size and possibly performance as well), without losing support for other browsers (which get a legacy bundle instead). It would be great if we could use this for Data Bridge as well.

WARNING: Anyone who wants to replicate this should also be aware of T254261: Don’t minify modern JavaScript in ResourceLoader.

Event Timeline

Change 599096 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] WIP: bridge: split app into modern and legacy build

Change 599096 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: split app into modern and legacy build

Seems to be working on Beta, including in IE11.