{"_id":"@umijs/case-sensitive-paths-webpack-plugin","_rev":"2837107","name":"@umijs/case-sensitive-paths-webpack-plugin","description":"A webpack plugin to enforce case-sensitive paths when resolving module","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"chenshuai2144","email":""},{"name":"kuitos","email":""},{"name":"peachscript","email":""},{"name":"sorrycc","email":""},{"name":"xiaohuoni","email":""},{"name":"xierenyuan","email":""},{"name":"xusd320","email":""},{"name":"yifankakaxi","email":""},{"name":"zoomdong07","email":""}],"time":{"modified":"2022-09-06T15:39:52.000Z","created":"2022-07-15T06:53:58.411Z","1.0.1":"2022-07-15T08:41:47.814Z","1.0.0":"2022-07-15T06:53:58.411Z"},"users":{},"versions":{"1.0.1":{"name":"@umijs/case-sensitive-paths-webpack-plugin","version":"1.0.1","description":"A webpack plugin to enforce case-sensitive paths when resolving module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"father dev","build":"father build","test":"jest","test:cov":"jest --collectCoverage","prepublishOnly":"npm run build"},"keywords":["webpack","plugin","case-sensitive"],"authors":["PeachScript <scdzwyxst@gmail.com>"],"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"@types/jest":"^27","@types/node":"^18.0.3","@umijs/test":"^4.0.7","css-loader":"^6.7.1","father":"^4.0.0-alpha.3","jest":"^27","style-loader":"^3.3.1","ts-node":"^10.9.1","webpack":"^5.73.0","webpack-cli":"^4.10.0"},"packageManager":"pnpm@7.3.0","prettier":{"pluginSearchDirs":false,"printWidth":80,"proseWrap":"never","singleQuote":true,"trailingComma":"all"},"gitHead":"de608dd96f478d6c9fc1168618768eb6c8e29e49","_id":"@umijs/case-sensitive-paths-webpack-plugin@1.0.1","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"02655299f52912289f2df28fbeaea636e748c1df","size":3496,"noattachment":false,"key":"/@umijs/case-sensitive-paths-webpack-plugin/-/@umijs/case-sensitive-paths-webpack-plugin-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@umijs/case-sensitive-paths-webpack-plugin/download/@umijs/case-sensitive-paths-webpack-plugin-1.0.1.tgz"},"_npmUser":{"name":"peachscript","email":"scdzwyxst@gmail.com"},"directories":{},"maintainers":[{"name":"chenshuai2144","email":""},{"name":"kuitos","email":""},{"name":"peachscript","email":""},{"name":"sorrycc","email":""},{"name":"xiaohuoni","email":""},{"name":"xierenyuan","email":""},{"name":"xusd320","email":""},{"name":"yifankakaxi","email":""},{"name":"zoomdong07","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/case-sensitive-paths-webpack-plugin_1.0.1_1657874507582_0.4668032375488351"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-15T08:44:21.364Z","publish_time":1657874507814,"_cnpm_publish_time":1657874507814},"1.0.0":{"name":"@umijs/case-sensitive-paths-webpack-plugin","version":"1.0.0","description":"A webpack plugin to enforce case-sensitive paths when resolving module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"father dev","build":"father build","test":"jest","test:cov":"jest --collectCoverage","prepublishOnly":"npm run build"},"keywords":["webpack","plugin","case-sensitive"],"authors":["PeachScript <scdzwyxst@gmail.com>"],"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"@types/jest":"^27","@types/node":"^18.0.3","@umijs/test":"^4.0.7","css-loader":"^6.7.1","father":"^4.0.0-alpha.3","jest":"^27","style-loader":"^3.3.1","ts-node":"^10.9.1","webpack":"^5.73.0","webpack-cli":"^4.10.0"},"packageManager":"pnpm@7.3.0","prettier":{"pluginSearchDirs":false,"printWidth":80,"proseWrap":"never","singleQuote":true,"trailingComma":"all"},"gitHead":"710af5a2f2d46af0a4dab10221552d4bd5561beb","_id":"@umijs/case-sensitive-paths-webpack-plugin@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"c1bf66abf2d422cc504c8bf05e5f6dbe4a83a3e7","size":3497,"noattachment":false,"key":"/@umijs/case-sensitive-paths-webpack-plugin/-/@umijs/case-sensitive-paths-webpack-plugin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@umijs/case-sensitive-paths-webpack-plugin/download/@umijs/case-sensitive-paths-webpack-plugin-1.0.0.tgz"},"_npmUser":{"name":"peachscript","email":"scdzwyxst@gmail.com"},"directories":{},"maintainers":[{"name":"chenshuai2144","email":""},{"name":"kuitos","email":""},{"name":"peachscript","email":""},{"name":"sorrycc","email":""},{"name":"xiaohuoni","email":""},{"name":"xierenyuan","email":""},{"name":"xusd320","email":""},{"name":"yifankakaxi","email":""},{"name":"zoomdong07","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/case-sensitive-paths-webpack-plugin_1.0.0_1657868038246_0.6111109102497458"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-15T07:05:48.334Z","publish_time":1657868038411,"_cnpm_publish_time":1657868038411}},"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+ & 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 & 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","_attachments":{},"license":"MIT"}