{"id":19970217,"url":"https://github.com/webdeveric/next-assets-manifest","last_synced_at":"2025-05-04T01:30:43.756Z","repository":{"id":34220971,"uuid":"171956503","full_name":"webdeveric/next-assets-manifest","owner":"webdeveric","description":"Add webpack-assets-manifest to your Next.js project.","archived":false,"fork":false,"pushed_at":"2024-03-07T14:38:14.000Z","size":870,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T00:43:14.899Z","etag":null,"topics":["next-plugin","next-plugins","webpack-assets-manifest"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/next-assets-manifest","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webdeveric.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-02-21T22:42:01.000Z","updated_at":"2025-03-31T13:06:11.000Z","dependencies_parsed_at":"2023-01-15T05:23:14.288Z","dependency_job_id":null,"html_url":"https://github.com/webdeveric/next-assets-manifest","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fnext-assets-manifest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fnext-assets-manifest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fnext-assets-manifest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdeveric%2Fnext-assets-manifest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdeveric","download_url":"https://codeload.github.com/webdeveric/next-assets-manifest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252276955,"owners_count":21722447,"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":["next-plugin","next-plugins","webpack-assets-manifest"],"created_at":"2024-11-13T02:53:35.178Z","updated_at":"2025-05-04T01:30:43.335Z","avatar_url":"https://github.com/webdeveric.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next Assets Manifest\n\n[![codecov](https://codecov.io/gh/webdeveric/next-assets-manifest/branch/master/graph/badge.svg)](https://codecov.io/gh/webdeveric/next-assets-manifest)\n\nAdd [webpack-assets-manifest](https://github.com/webdeveric/webpack-assets-manifest) to your [Next.js](https://nextjs.org/) project.\n\n```shell\nnpm install next-assets-manifest --save-dev\n```\n\n## Requirements\n\n- [Next.js](https://nextjs.org/) 12\n- Node 12+\n\n## Example Usage\n\nView [examples](./examples/).\n\n`assetsManifest`, `assetsManifestClient`, and `assetsManifestServer` are optional.\n\nThe values for these options can be found [here](https://github.com/webdeveric/webpack-assets-manifest#options-read-the-schema).\n\nAdd something like this to your `next.config.js`.\n\n```js\nconst withAssetsManifest = require('next-assets-manifest');\n\nmodule.exports = withAssetsManifest({\n  // These options are used for both client and server manifest plugins.\n  assetsManifest: {\n    done(manifest) {\n      console.log(`${manifest}`);\n\n      // You can get the options Next.js uses, if you need it for anything.\n      console.log(manifest.options.extra.nextOptions);\n    },\n  },\n  // Customize the client side manifest.\n  assetsManifestClient: {\n    output: 'client-manifest.json',\n  },\n  // Customize the server side manifest.\n  assetsManifestServer: {\n    output: 'server-manifest.json',\n  },\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdeveric%2Fnext-assets-manifest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdeveric%2Fnext-assets-manifest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdeveric%2Fnext-assets-manifest/lists"}