Use require.resolve(...) as method of resolving paths for theming-related dependencies