Refactor .scss files import to one place
This approach is used in the Gutenberg repository. Our original approach, where we imported styles in index files in subdirectories, was a bit fragile because such a file might be skipped in case a component is imported directly. [MAILPOET-6320]
This commit is contained in:
committed by
Oluwaseun Olorunsola
parent
67477dcc59
commit
da5e90a429
@@ -1,3 +1 @@
|
||||
import './index.scss';
|
||||
|
||||
export * from './header';
|
||||
|
Reference in New Issue
Block a user