{"id":31645745,"url":"https://github.com/umijs/case-sensitive-paths-webpack-plugin","last_synced_at":"2025-10-07T05:16:27.396Z","repository":{"id":45211283,"uuid":"513407141","full_name":"umijs/case-sensitive-paths-webpack-plugin","owner":"umijs","description":"A webpack plugin to enforce case-sensitive paths when resolving module","archived":false,"fork":false,"pushed_at":"2022-07-15T12:16:51.000Z","size":121,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-14T02:42:39.880Z","etag":null,"topics":["case-sensitive","plugin","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/umijs.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":"2022-07-13T06:31:38.000Z","updated_at":"2024-03-24T04:26:49.000Z","dependencies_parsed_at":"2022-09-05T08:50:53.370Z","dependency_job_id":null,"html_url":"https://github.com/umijs/case-sensitive-paths-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/umijs/case-sensitive-paths-webpack-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Fcase-sensitive-paths-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Fcase-sensitive-paths-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Fcase-sensitive-paths-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Fcase-sensitive-paths-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umijs","download_url":"https://codeload.github.com/umijs/case-sensitive-paths-webpack-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umijs%2Fcase-sensitive-paths-webpack-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722757,"owners_count":26034463,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["case-sensitive","plugin","webpack"],"created_at":"2025-10-07T05:16:09.218Z","updated_at":"2025-10-07T05:16:27.391Z","avatar_url":"https://github.com/umijs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @umijs/case-sensitive-paths-webpack-plugin\n\n[![NPM version](https://img.shields.io/npm/v/@umijs/case-sensitive-paths-webpack-plugin.svg?style=flat)](https://npmjs.org/package/@umijs/case-sensitive-paths-webpack-plugin)\n[![NPM downloads](http://img.shields.io/npm/dm/@umijs/case-sensitive-paths-webpack-plugin.svg?style=flat)](https://npmjs.org/package/@umijs/case-sensitive-paths-webpack-plugin)\n[![codecov](https://codecov.io/gh/umijs/case-sensitive-paths-webpack-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/umijs/case-sensitive-paths-webpack-plugin)\n[![GitHub Actions status](https://github.com/umijs/case-sensitive-paths-webpack-plugin/workflows/CI/badge.svg)](https://github.com/umijs/case-sensitive-paths-webpack-plugin)\n\nA webpack plugin to enforce case-sensitive paths when resolving module, similar to the well-known [case-sensitive-paths-webpack-plugin](https://github.com/Urthen/case-sensitive-paths-webpack-plugin) project.\n\nThe difference is:\n\n1. Only compatible with Webpack 4+ \u0026 Node.js 14+\n3. Ignore paths outside of current project\n2. Ignore `node_modules` resources\n4. Ignore `asset/inline` resources\n5. Check each level paths asynchronously \u0026 in parallel\n6. Higher cache utilization\n\nSo this plugin has better performance than it.\n\n## Usage\n\nInstall:\n\n```bash\n$ npm i @umijs/case-sensitive-paths-webpack-plugin --save-dev\n```\n\nConfigure in `webpack.config.js`:\n\n```js\nconst CaseSensitivePathsPlugin = require('@umijs/case-sensitive-paths-webpack-plugin');\n\nmodule.exports = {\n  plugins: [\n    new CaseSensitivePathsPlugin(),\n  ],\n};\n```\n\nThat's all.\n\n## Thanks\n\nThis project is inspired by [case-sensitive-paths-webpack-plugin](https://github.com/Urthen/case-sensitive-paths-webpack-plugin), thanks!\n\n## LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumijs%2Fcase-sensitive-paths-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumijs%2Fcase-sensitive-paths-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumijs%2Fcase-sensitive-paths-webpack-plugin/lists"}