You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reference to window cause project that implement server side rendering to fail to load dependency modules, even thought we attempt to split the package for lazy load using:
import(/* webpackChunkName: "html2canvas" */ "html2canvas").then(module => {
...})
The text was updated successfully, but these errors were encountered:
If I wrap my module resolve in an if block is seem to work:
if (isBrowser()) {
import(/* webpackChunkName: "html2canvas" */ "html2canvas").then(module => {
...})
}
CacheStorage.setContext(window);
\node_modules\html2canvas\dist\html2canvas.js:6856:29
Reference to window cause project that implement server side rendering to fail to load dependency modules, even thought we attempt to split the package for lazy load using:
import(/* webpackChunkName: "html2canvas" */ "html2canvas").then(module => {
...})
The text was updated successfully, but these errors were encountered: