Open darrug opened 2 years ago
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:
I experience the same issue with nextjs
i published my own ssr version at https://www.npmjs.com/package/@moredeal/react-slick/
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: