{"id":13671198,"url":"https://github.com/huruji/webpack-plugin-996icu","last_synced_at":"2025-04-10T16:12:25.140Z","repository":{"id":34592483,"uuid":"179404162","full_name":"huruji/webpack-plugin-996icu","owner":"huruji","description":"一个帮助 webpack 拥有假期，拒绝 996，拒绝 ICU，提高工作效率的 webpack 插件","archived":false,"fork":false,"pushed_at":"2023-04-30T19:51:05.000Z","size":974,"stargazers_count":67,"open_issues_count":8,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T14:01:52.662Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huruji.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-04-04T02:10:23.000Z","updated_at":"2024-11-10T05:29:51.000Z","dependencies_parsed_at":"2024-01-14T16:42:45.304Z","dependency_job_id":"a40d1df0-acdc-4cf0-b0d3-0c728c024ee0","html_url":"https://github.com/huruji/webpack-plugin-996icu","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fwebpack-plugin-996icu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fwebpack-plugin-996icu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fwebpack-plugin-996icu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huruji%2Fwebpack-plugin-996icu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huruji","download_url":"https://codeload.github.com/huruji/webpack-plugin-996icu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248251117,"owners_count":21072685,"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-08-02T09:01:02.597Z","updated_at":"2025-04-10T16:12:25.124Z","avatar_url":"https://github.com/huruji.png","language":"JavaScript","readme":"\u003cp\u003e\n\u003cimg src=\"./logo.png\" width=\"500\"/\u003e\n\u003cp\u003e\n\n\n![](./screenshot.png)\n\n一个帮助 webpack 拥有假期，拒绝 996，拒绝 ICU，提高工作效率的 webpack 插件\n\n\u003e 当然，他也帮助开发者早点下班\n\u003e 这个插件在非工作时间将使 webpack 拒绝编译打包\n\n## 使用\n\n```bash\nnpm i webpack-plugin-nns-icu -D\n```\n\n\u003e nns 为 996 英文首字母缩写\n\n```js\n// webpack.config.js\nconst WebpackPlugin996ICU = require('webpack-plugin-nns-icu')\n\nconst config = {\n  // other config options\n  plugins: [\n    new WebpackPlugin996ICU()\n  ]\n}\n```\n\n## 参数\n\n### focusWork\ntype: `boolean`\n\ndefault: `false`\n\n设置为 `true` 时，`996icu` 插件失效，任何时候都能打包成功\n\n### type\ntype: `normal` | `webpack`\n\n设置为 `webpack` 时，输入的报错信息会假装是 `webpack` 出了问题，报错内容如下：\n\n![](./webpackErr.png)\n\n### message\ntype: string\n\n自定义报错信息\n\n### holiday\ntype: `boolean`\ndefault: `false`\n\n设置为 `true` 时，会把当天当做休息日，应对周中假期情况\n\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuruji%2Fwebpack-plugin-996icu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuruji%2Fwebpack-plugin-996icu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuruji%2Fwebpack-plugin-996icu/lists"}