caoxiemeihao / vite-plugins

🌱 为社区尽一份绵薄之力
MIT License
65 stars 15 forks source link

vite-plugin-esmodule seems broken #30

Closed nosferatu500 closed 2 years ago

nosferatu500 commented 2 years ago

Hi! I have that #9 issue again. (v1.2.5)

On version v1.2.4 everything fine. Roll back on this version for now.

caoxiemeihao commented 2 years ago

v1.2.4 and v1.2.5 have little change.
This and #9 is not the same.

image
nosferatu500 commented 2 years ago

I see, but when I'm using v1.2.5 I'm still getting an error "getDefaultExportFromCjs is not a function".

caoxiemeihao commented 2 years ago

Can you show me a Demo?

nosferatu500 commented 2 years ago

Sorry I was too busy. I will try to send you an example next week.

caoxiemeihao commented 2 years ago

https://github.com/vite-plugin/vite-plugin-esmodule