-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Invalid package.json field for sub packages #4536
Comments
This is critical! it makes the packages unusable with variety of tools |
Apparently this was introduced 2 years ago via #3483:
There are 2 approaches to fix for this IMHO:
I think the first approach is more correct. Paging @laurentgoudet, what do you think? |
We have noticed this same issue in our vite project, with the |
Any news on this @danielsogl ? |
There has been no recent activity and this issue has been marked inactive. |
The repo doesn't seem to be abandoned, still there is no reply from a maintainer? |
There has been no recent activity and this issue has been marked inactive. |
Description
The
package.json
in released sub packages such as is-debug reference a "bundle.js" in theirmain
field which is only valid for the core module.awesome-cordova-plugins/scripts/tasks/publish.ts
Line 18 in d7c771b
That results in an issue for newly created vite projects:
Proposal
The publish.ts should become aware of the modules it is building the
package.json
for and drop themain
field for everything except the core module.The text was updated successfully, but these errors were encountered: