{"library":"vite-plugin-moment-timezone","type":"library","category":null,"description":"vite-plugin-moment-timezone is a Vite plugin designed to optimize bundle size by selectively stripping unneeded time zone data from the `moment-timezone` library during the build phase. This is particularly useful for applications that only require a subset of time zones or a specific date range, as `moment-timezone` can be quite large. The current stable version is 0.0.4. Given its low version number and explicit mention of \"extremely limited testing\" and being \"new,\" it does not yet have a predictable release cadence and should be used with caution, thoroughly testing builds before deployment. Its key differentiator is providing build-time tree-shaking for `moment-timezone` data within a Vite environment, allowing configuration of `zones`, `startYear`, and `endYear` to significantly reduce the final JavaScript bundle size compared to including all available `moment-timezone` data.","language":"javascript","status":"active","version":"0.0.4","tags":["javascript","vite","vite plugin","vitejs","vitejs plugin","vite-plugin","moment","moment-timezone","timezone","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vite-plugin-moment-timezone","imports":["import momentTimezonePlugin from 'vite-plugin-moment-timezone';","import { defineConfig, type UserConfig } from 'vite';"]},{"cmd":"yarn add vite-plugin-moment-timezone","imports":[]},{"cmd":"pnpm add vite-plugin-moment-timezone","imports":[]}],"homepage":null,"github":"https://github.com/cbetori/vite-plugin-moment-timezone","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-moment-timezone","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-moment-timezone/compatibility"}}