Skip to content
New issue

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

publint warnings #14132

Closed
7 tasks done
mkilpatrick opened this issue Aug 16, 2023 · 1 comment
Closed
7 tasks done

publint warnings #14132

mkilpatrick opened this issue Aug 16, 2023 · 1 comment

Comments

@mkilpatrick
Copy link

Describe the bug

https://publint.dev/[email protected]

"exports": {
".": {
"types":
"./dist/node/index.d.ts"
,

The types is an invalid format when resolving with the "require" condition. Consider splitting out two types conditions for import and require, and use the .cts extension, e.g. pkg.exports["."].require.types: "./dist/node/index.d.cts" (More info)

Reproduction

N/A

Steps to reproduce

No response

System Info

N/A

Used Package Manager

npm

Logs

No response

Validations

@bluwy
Copy link
Member

bluwy commented Aug 17, 2023

We're currently tracking that in #11552 and will likely fix it in the next Vite major.

@bluwy bluwy closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants