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
When using the dist/emotion-serialize.browser.esm.js file available in the @emotion/serialize npm package in the browser (via CDN: https://ga.jspm.io/npm:@emotion/serialize@1.1.4/dist/emotion-serialize.esm.js in my case) I get a "ReferenceError: process is not defined". This is due to this file including some checks on node's process which is unavailable in the browser.
To reproduce:
Save this as a HTML file. After opening it in the browser, you'll see the error in the Console:
Current behavior:
When using the
dist/emotion-serialize.browser.esm.js
file available in the @emotion/serialize npm package in the browser (via CDN: https://ga.jspm.io/npm:@emotion/serialize@1.1.4/dist/emotion-serialize.esm.js in my case) I get a "ReferenceError: process is not defined". This is due to this file including some checks on node's process which is unavailable in the browser.To reproduce:
Save this as a HTML file. After opening it in the browser, you'll see the error in the Console:
Expected behavior:
Just loading the file should not produce any JS errors.
The text was updated successfully, but these errors were encountered: