{"id":18290533,"url":"https://github.com/react-doc/create-spare-webpack-plugin","last_synced_at":"2026-04-24T16:06:01.796Z","repository":{"id":71661218,"uuid":"116507777","full_name":"react-doc/create-spare-webpack-plugin","owner":"react-doc","description":"Store a JSON mapping of a directory.","archived":false,"fork":false,"pushed_at":"2018-04-24T04:44:12.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T07:28:34.315Z","etag":null,"topics":["rdoc","react-doc","webpack","webpack-loader"],"latest_commit_sha":null,"homepage":"","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/react-doc.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-06T18:56:49.000Z","updated_at":"2020-06-08T04:38:51.000Z","dependencies_parsed_at":"2023-05-03T08:03:35.126Z","dependency_job_id":null,"html_url":"https://github.com/react-doc/create-spare-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/react-doc/create-spare-webpack-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-doc%2Fcreate-spare-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-doc%2Fcreate-spare-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-doc%2Fcreate-spare-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-doc%2Fcreate-spare-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-doc","download_url":"https://codeload.github.com/react-doc/create-spare-webpack-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-doc%2Fcreate-spare-webpack-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32230433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["rdoc","react-doc","webpack","webpack-loader"],"created_at":"2024-11-05T14:11:21.318Z","updated_at":"2026-04-24T16:06:01.740Z","avatar_url":"https://github.com/react-doc.png","language":"JavaScript","readme":"\nCreate Spare Webpack Plugin\n---\n\nInstall the plugin via NPM:\n\n```bash\nnpm i create-spare-webpack-plugin --save\n```\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  entry: './src/index.js',\n  plugins: [\n    new CreateSpareWebpackPlugin({\n      // 备用文件目录，比对是否存在，不存在生成，根据sep 目录规则生成\n      path: PATH.join(cachePath, './md'),\n      sep: '___', // 检查目标目录文件，文件名存储，文件夹+下划线间隔+文件名\n      directoryTrees: { // 索引目录\n        dir: cmd.markdownDirs,\n        mdconf: true,\n        extensions: /\\.md$/,\n      },\n    }),\n  ]\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-doc%2Fcreate-spare-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-doc%2Fcreate-spare-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-doc%2Fcreate-spare-webpack-plugin/lists"}