Add a _getSrcPath function
heygrady opened this issue · comments
Grady Kuhnline commented
I am working on using isomorphic-style-loader with mini-css-extract-plugin. I would like to have a _getSrcPath
function so that I can know the original source file that was passed into withStyles
. This would allow me to look up the css bundle that includes that file in an asset manifest (like what loadable-components provides).
I need this to take advantage of how mini-css-extract-plugin supports a data-href
on inlined css.