-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
[ Bug ] Ambient Import/Export Issues #7
Comments
It looks like you need to move |
Seems like it doesnt make any difference for me, even if i inline the vite config on the theme file, it seems to always fail, were you able to make it work with vite.config.js under docs/ and it worked? If yes could you please share more about your env? Moving over to docs/ throws the following :
While if inline in the theme config it reproduces the OP. |
Ah I think that's because |
Indeed it works with a minimal setup, but brings another whole new set of issues :p since than all the other modules / files must be ESM as well. Ill pass it for now, but thanks for your time :) Btw, tested with a more complex vitepress setup + module and still behaves the same, it simply doesnt understand the export :( |
Or you could use |
Hey! Thank you for the amazing package!
Im trying to get this working with vitepress but having some weird error on the :
Seems like its unable to figure out that export that is done on compile time ( i assume , sorry for my ignorance :D )
Here is a small repo for reproduction:
https://github.com/igerslike/vitepress-whyframe
yarn install && yarn docs:dev
Enviorment:
Thanks! :)
The text was updated successfully, but these errors were encountered: