{"id":17750592,"url":"https://github.com/nuintun/webpack-entry-manifest-plugin","last_synced_at":"2025-04-01T18:30:47.469Z","repository":{"id":50938118,"uuid":"133749635","full_name":"nuintun/webpack-entry-manifest-plugin","owner":"nuintun","description":"Webpack plugin for generating an asset manifest with grouped entry chunks.","archived":false,"fork":false,"pushed_at":"2021-05-27T10:05:05.000Z","size":21,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T21:22:25.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nuintun.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-05-17T02:47:40.000Z","updated_at":"2021-10-13T11:13:08.000Z","dependencies_parsed_at":"2022-08-25T13:00:37.040Z","dependency_job_id":null,"html_url":"https://github.com/nuintun/webpack-entry-manifest-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-entry-manifest-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-entry-manifest-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-entry-manifest-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-entry-manifest-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuintun","download_url":"https://codeload.github.com/nuintun/webpack-entry-manifest-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635949,"owners_count":20809331,"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":[],"created_at":"2024-10-26T12:22:47.331Z","updated_at":"2025-04-01T18:30:47.240Z","avatar_url":"https://github.com/nuintun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-entry-manifest-plugin\n\n\u003e Webpack plugin for generating an asset manifest with grouped entry chunks\n\u003e\n\u003e [![NPM Version][npm-image]][npm-url]\n\u003e [![Download Status][download-image]][npm-url]\n\u003e ![Node Version][node-image]\n\u003e [![Dependencies][david-image]][david-url]\n\n# Usage\n\n```js\nconst WebpackEntryManifestPlugin = require('webpack-entry-manifest-plugin');\n\nmodule.exports = {\n  // ... Webpack configure\n  plugins: [\n    // ... Webpack plugins\n    new WebpackEntryManifestPlugin({\n      filename: 'manifest.json', // Assets manifest filename\n      map: (path, chunk) =\u003e path, // Assets path map function\n      filter: (path, chunk) =\u003e true, // Assets path filter function\n      serialize: manifest =\u003e JSON.stringify(manifest) // Assets manifest serialize function\n    })\n  ]\n};\n```\n\n# Output\n\n```json\n{\n  \"index\": {\n    \"js\": [\n      \"/Assets/dist/js/runtime.js\",\n      \"/Assets/dist/js/react.js\",\n      \"/Assets/dist/js/vendors.js\",\n      \"/Assets/dist/js/antd.js\",\n      \"/Assets/dist/js/index.js\"\n    ],\n    \"css\": [\"/Assets/dist/css/antd.css\", \"/Assets/dist/css/index.css\"]\n  },\n  \"login/index\": {\n    \"js\": [\n      \"/Assets/dist/js/runtime.js\",\n      \"/Assets/dist/js/react.js\",\n      \"/Assets/dist/js/vendors.js\",\n      \"/Assets/dist/js/antd.js\",\n      \"/Assets/dist/js/login/index.js\"\n    ],\n    \"css\": [\"/Assets/dist/css/antd.css\", \"/Assets/dist/css/login/index.css\"]\n  },\n  \"user/index\": {\n    \"js\": [\n      \"/Assets/dist/js/runtime.js\",\n      \"/Assets/dist/js/react.js\",\n      \"/Assets/dist/js/vendors.js\",\n      \"/Assets/dist/js/antd.js\",\n      \"/Assets/dist/js/user/index.js\"\n    ],\n    \"css\": [\"/Assets/dist/css/antd.css\", \"/Assets/dist/css/user/index.css\"]\n  }\n}\n```\n\n# License\n\n[MIT](LICENSE)\n\n[david-image]: http://img.shields.io/david/nuintun/webpack-entry-manifest-plugin.svg?style=flat-square\n[david-url]: https://david-dm.org/nuintun/webpack-entry-manifest-plugin\n[node-image]: http://img.shields.io/node/v/webpack-entry-manifest-plugin.svg?style=flat-square\n[npm-image]: http://img.shields.io/npm/v/webpack-entry-manifest-plugin.svg?style=flat-square\n[npm-url]: https://www.npmjs.org/package/webpack-entry-manifest-plugin\n[download-image]: http://img.shields.io/npm/dm/webpack-entry-manifest-plugin.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Fwebpack-entry-manifest-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuintun%2Fwebpack-entry-manifest-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Fwebpack-entry-manifest-plugin/lists"}