I think referencing config.js is okay, but it does mean that the Docs UI is not going to be able to follow that reference.