The readme says the plugin is SSR Friendly, but I was wondering if you could give some more details about that.
Is there anything I would need to do to configure a project to use this plugin with SSR?
I would expect that things like document.createElement would fail on the server since the DOM isn't available to provide document:
|
'var linkTag = document.createElement("link");', |
Is there another code path that gets run on the server?
I have tried looking through past issues for more details, but haven't been able to find out more yet.
The readme says the plugin is SSR Friendly, but I was wondering if you could give some more details about that.
Is there anything I would need to do to configure a project to use this plugin with SSR?
I would expect that things like
document.createElementwould fail on the server since the DOM isn't available to providedocument:extract-css-chunks-webpack-plugin/src/index.js
Line 354 in c640252
Is there another code path that gets run on the server?
I have tried looking through past issues for more details, but haven't been able to find out more yet.