intlify / vite-plugin-vue-i18n

:globe_with_meridians: Vite plugin for Vue I18n
MIT License
127 stars 8 forks source link

esm-bundler build warning with vite 2 #73

Closed AhsanAbrar closed 3 years ago

AhsanAbrar commented 3 years ago

Screenshots Warning!

why we are seeing this warning with vite 2.x?

You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.

it should be solved.

kazupon commented 3 years ago

same #74

kazupon commented 3 years ago

I've just fixed it! please check lastest version! https://github.com/intlify/vite-plugin-vue-i18n/releases/tag/v2.0.2