Due to the enquire.js dependency when using server side rendering the compilation gives this error
✓ building client + server bundles...
✖ rendering pages...
build error:
ReferenceError: window is not defined
enquire.js is no longer maintained. A merge request has been opened but I doubt it will be considered - enquire pull request.
I think there are two possibilities:
- use a fork of enquire.js like the one proposed by this user
- insert the code of enquire.js directly in react-slick and fix the issue
Due to the enquire.js dependency when using server side rendering the compilation gives this error
enquire.js is no longer maintained. A merge request has been opened but I doubt it will be considered - enquire pull request.
I think there are two possibilities: