-
Notifications
You must be signed in to change notification settings - Fork 155
return meta files from createAssets() #748
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
Conversation
|
commit: |
@@ -22,6 +22,13 @@ | |||
"types": "./dist/*.d.ts" | |||
} | |||
}, | |||
"typesVersions": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would "types": "dist/*"
work here?
Could the problem be that we import path.js
instead of path
(would be awesome to be able to drop the .js
but it might be a breaking change)
Anyway do not spend too much time on this if you have a working config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the problem be that we import path.js instead of path (would be awesome to be able to drop the .js but it might be a breaking change)
I don't think so, i've tested this on a test repo that i had and it worked. I was even able to drop the .js
.
If we need typesVersions
to not break compatibility i'm fine with it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately same problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a few nits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as vic, but other than that LGTM
@@ -22,6 +22,13 @@ | |||
"types": "./dist/*.d.ts" | |||
} | |||
}, | |||
"typesVersions": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the problem be that we import path.js instead of path (would be awesome to be able to drop the .js but it might be a breaking change)
I don't think so, i've tested this on a test repo that i had and it worked. I was even able to drop the .js
.
If we need typesVersions
to not break compatibility i'm fine with it
2a6c1ac
to
596aa36
Compare
I want to re-use the value instead of importing the generated file.
I also had to add back the
typesVersions
that was removed in #747 as it broke builds and imports for the cloudflare adapter.