Maybe we can create another part of a component config, which would be custom code needed for the Special:Styleguide page. I'd be nice if we could keep all the component-related code together