StyleSheet webpack plugin extract CSS styles and add them to webpack chunk. It should help with tools like loadable.
Use the package manager yarn to install foobar.
yarn add -D style-sheet-webpack-plugin
Please refer to style-sheet repository
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.