{"id":17925386,"url":"https://github.com/scottbedard/vue-cli-plugin-moment","last_synced_at":"2025-07-13T15:38:39.709Z","repository":{"id":57151246,"uuid":"148425204","full_name":"scottbedard/vue-cli-plugin-moment","owner":"scottbedard","description":"moment.js plugin for vue-cli","archived":false,"fork":false,"pushed_at":"2018-09-12T07:38:39.000Z","size":6,"stargazers_count":16,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-02T02:41:49.350Z","etag":null,"topics":["moment","vue-cli","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottbedard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-12T05:16:50.000Z","updated_at":"2021-03-12T07:44:05.000Z","dependencies_parsed_at":"2022-08-31T20:02:21.249Z","dependency_job_id":null,"html_url":"https://github.com/scottbedard/vue-cli-plugin-moment","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/scottbedard/vue-cli-plugin-moment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottbedard%2Fvue-cli-plugin-moment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottbedard%2Fvue-cli-plugin-moment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottbedard%2Fvue-cli-plugin-moment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottbedard%2Fvue-cli-plugin-moment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottbedard","download_url":"https://codeload.github.com/scottbedard/vue-cli-plugin-moment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottbedard%2Fvue-cli-plugin-moment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265165297,"owners_count":23721348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["moment","vue-cli","webpack"],"created_at":"2024-10-28T20:53:42.753Z","updated_at":"2025-07-13T15:38:39.687Z","avatar_url":"https://github.com/scottbedard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-cli-plugin-moment\n\n[![NPM](https://img.shields.io/npm/v/vue-cli-plugin-moment.svg)](https://www.npmjs.com/package/vue-cli-plugin-moment)\n[![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/scottbedard/vue-cli-plugin-moment/blob/master/LICENSE)\n\nThis plugin configures webpack's use of moment.js to only include a few locales. Desired locales can be set by entering a CSV of [moment.js locales](https://github.com/moment/moment/tree/develop/locale) during installation, or by setting them manually in your `vue.config.js`. Below is an example configuration that includes only the English locales.\n\n```js\nmodule.exports = {\n  pluginOptions: {\n    moment: {\n      locales: ['en']\n    }\n  }\n}\n```\nTo demonstrate the payload differences to expect, here is a before and after using the above configuration.\n\n| Before | After |\n| :----: |:-----:|\n| \u003cimg src=\"https://user-images.githubusercontent.com/7980426/45407902-9da6dd00-b61f-11e8-8c7e-062915d3f23b.png\" /\u003e | \u003cimg src=\"https://user-images.githubusercontent.com/7980426/45407903-9da6dd00-b61f-11e8-9c62-8169542c2753.png\" /\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottbedard%2Fvue-cli-plugin-moment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottbedard%2Fvue-cli-plugin-moment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottbedard%2Fvue-cli-plugin-moment/lists"}