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
If process.env.NODE_ENV is not set, the umd build throws an error when run in browser.
react-is.development.js:14 Uncaught ReferenceError: process is not defined
at react-is.development.js:14
at createCommonjsModule (formsy-react.umd.js:248)
at react-is.production.min.js:15
at formsy-react.umd.js:4
at formsy-react.umd.js:5
This prevents us from easily loading the library from cdns like unpkg.
It's possible to workaround by adding a mock process object on the window object before loading the library:
If
process.env.NODE_ENV
is not set, the umd build throws an error when run in browser.This prevents us from easily loading the library from cdns like unpkg.
It's possible to workaround by adding a mock
process
object on the window object before loading the library:See https://codepen.io/twisty/full/dyodZZG
The text was updated successfully, but these errors were encountered: