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
moduleResolution: "bundler" is a recent setting added to TypeScript to support bundler setups. It's the setting you should probably be using when bundling code. With this setting TypeScript only searches for types in the exports field of the package.json.
moduleResolution: "bundler"
is a recent setting added to TypeScript to support bundler setups. It's the setting you should probably be using when bundling code. With this setting TypeScript only searches for types in the exports field of thepackage.json
.It requires the following change:
"exports": { "import": "./dist/index.js", "require": "./dist/index.cjs", + "types": "./dist/index.d.ts" },
The text was updated successfully, but these errors were encountered: