Discussed this with @jamesgorrie - I agree that using a require object per file that needs it is the optimal solution but thats not part of this work and can come at a later date.