Closed acmoune closed 7 years ago
Hello,
Unfortunately, css-modules-require-hook
doesn't add any browser environment.
You may try to add a custom polyfill to the nodejs environment via global
variable, jsdom
and jquery
packages.
Thanks for your reply @sullenor
I am using
css-modules-require-hook
to render a react app on the server, but I am having theError: Bootstrap's JavaScript requires jQuery
.With client side webpack I fix it with this plugin config:
How can I proceed server side, using
css-modules-require-hook
?Thanks in advance.