We are now using https://github.com/webpack-contrib/mini-css-extract-plugin which is able to generate a CSS per entry point. Though, this was causing FOUC. The reason for this is that we are not including the CSS for each route. We need to copy up with a solution that associates routes (async entry-points) to the outputted CSS assets and include them in index.html.js.
We are now using https://github.com/webpack-contrib/mini-css-extract-plugin which is able to generate a CSS per entry point. Though, this was causing FOUC. The reason for this is that we are not including the CSS for each route. We need to copy up with a solution that associates routes (async entry-points) to the outputted CSS assets and include them in
index.html.js
.