User:EGardner (WMF)/common.js

// test to ensure that Vue and Codex are available // userscripts must be valid ES5, so ES6 syntax is not allowed. mw.loader.using( [ 'vue', '@wikimedia/codex' ], function ( require ) {	const Vue = require( 'vue' );	const codex = require( '@wikimedia/codex' );	console.log( Vue );	console.log( codex ); } );