You could take 10 seconds and write 1-line modules to abstract your specific imports - &quot;import Component from &#x27;mycomponent&#x27;&quot;. This is not a valid argument in favor of modularity or small modules (and I love small modules).