We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"exports" in package.json are different between repo and npm, which makes typescript not recognize types correctly.
"exports"
package.json
"exports" from npm package
"exports": { ".": { "solid": "./dist/source/index.js", "import": "./dist/esm/index.js", "browser": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.cjs" }, "require": "./dist/cjs/index.cjs", "node": "./dist/cjs/index.cjs" } },
"exports" from repo
"exports": { ".": { "solid": "./dist/source/index.js", "import": { "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js" }, "browser": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/cjs/index.cjs" } }, "require": { "default": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts" }, "node": { "default": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts" } } },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"exports"
inpackage.json
are different between repo and npm, which makes typescript not recognize types correctly."exports"
from npm package"exports"
from repoThe text was updated successfully, but these errors were encountered: