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
Font-picker is used as a dependency in react-font-picker. Building the project fails due to document not being defined at build time. You need to wrap lines 158-159 of index.es.js as
if(typeof document !== 'undefined'){
var previewFontsStylesheet = document.createElement("style");
document.head.appendChild(previewFontsStylesheet);
}
The text was updated successfully, but these errors were encountered:
Font-picker is used as a dependency in react-font-picker. Building the project fails due to document not being defined at build time. You need to wrap lines 158-159 of
index.es.js
asThe text was updated successfully, but these errors were encountered: