This is not true. CSS modules doesn’t fix the global name space. It just emulate a closed css scoped by adding hash to class names. The css scope still remain global and every global css will effect all elements.
If i link a style.css in the index.html it will effect all the document.
The only way to have a true css encapsulation is switching to Shadow DOM.