xiCO2k / laravel-vue-i18n

Allows to connect your `Laravel` Framework translation files with `Vue`.
MIT License
598 stars 49 forks source link

Vite Message: laravel-vue-i18n doesn't appear to be written in CJS #41

Closed xreal closed 2 years ago

xreal commented 2 years ago

Hi @xiCO2k, i migrated yesterday to the Vite Integration. Everything's seems fine. Thanks for the fast adaption.

I noticed this message when use "vite build --ssr".

laravel-vue-i18n 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.

xiCO2k commented 2 years ago

Thanks for the feedback @xreal

Will try to figure that one out.

xiCO2k commented 2 years ago

Thanks @xreal for the feedback, should be solved now.