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

Error : Vite + van11y-accessible-modal #31

Open
Oliv- opened this issue May 5, 2023 · 3 comments
Open

Error : Vite + van11y-accessible-modal #31

Oliv- opened this issue May 5, 2023 · 3 comments

Comments

@Oliv-
Copy link
Contributor

Oliv- commented May 5, 2023

J'essaie d'importer vani11y dans un projet Astro.build + Vite.
Que penser de ce message @nico3333fr ?

van11y-accessible-modal-window-aria doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

@Oliv- Oliv- changed the title Vite + van11y-accessible-modal Error : Vite + van11y-accessible-modal May 5, 2023
@nico3333fr
Copy link
Owner

J'avoue que je ne connais pas du tout Astro... question stupide: si en dist, je propose un fichier .mjs, est-ce que tu crois que ça ferait le job ?

@Oliv-
Copy link
Contributor Author

Oliv- commented May 5, 2023

L'erreur est apparemment plus liée à Vite.
Peut-être que que le mjs serait préféré ?…

@Oliv-
Copy link
Contributor Author

Oliv- commented May 24, 2023

Bonjour @nico3333fr
Quelles nouvelles ? As-tu trouvé une solution ?

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

No branches or pull requests

2 participants