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
My question is: is it possible to override the "types" field in the package.json to make the module resolve to the main types in node, and the browser types in a web browser?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am currently working on a project that exports two different packages depending on platform:
example
package.json
My question is: is it possible to override the
"types"
field in thepackage.json
to make the module resolve to themain
types in node, and thebrowser
types in a web browser?Thanks
The text was updated successfully, but these errors were encountered: