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

Packaging warning with Vite "vdom.js is written in ESM, but is interpreted as CJS" #7038

Closed
benmccann opened this issue Nov 29, 2022 · 1 comment
Assignees
Milestone

Comments

@benmccann
Copy link

Reduced Test Case

https://publint.bjornlu.com/@fullcalendar/core

Bug Description

There are difficulties using this package with Vite (YogliB/svelte-fullcalendar#804) because it is improperly packaged

I would recommend setting either "type": "module" or exports in the package.json of this package.

@acerix acerix changed the title packaging issues Packaging warning with Vite "vdom.js is written in ESM, but is interpreted as CJS" Dec 1, 2022
@arshaw arshaw added this to the v6 milestone Dec 2, 2022
@arshaw
Copy link
Member

arshaw commented Dec 2, 2022

Nearly all issues have been addressed in v6.0.0-beta.3

See the improved linting:
https://publint.bjornlu.com/@fullcalendar/core@6.0.0-beta.3

The issue of "types": "./locales/*.d.ts" being invalid is wrong, glob stars are allowed. This should be reported to the maintainer of publint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants