Are barrel files a good way to enforce boundaries between domains?
I've seen more developers warn against barrel files because they can interfere with tree-shaking, increase build or test times, and sometimes contribute to circular dependencies. In my projects,…