线程加载程序:在工作池中运行以下加载程序

上传者: 42140846 | 上传时间: 2022-04-20 16:02:56 | 文件大小: 158KB | 文件类型: ZIP
线程加载器 在工作池中运行以下装载程序。 入门 npm install --save-dev thread-loader 将此装载机放在其他装载机的前面。 以下加载程序在工作池中运行。 在工作池中运行的装载程序受到限制。 例子: 加载程序无法发出文件。 加载程序无法使用自定义加载程序API(即通过插件)。 加载程序无法访问webpack选项。 每个工作程序都是一个单独的node.js进程,其开销约为600毫秒。 进程间通信也有开销。 只能将此装载机用于昂贵的操作! 例子 webpack.config.js module . exports = { module : {

文件下载

资源详情

[{"title":"( 53 个子文件 158KB ) 线程加载程序:在工作池中运行以下加载程序","children":[{"title":"thread-loader-master","children":[{"title":"example","children":[{"title":".babelrc <span style='color:#111;'> 117B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 837B </span>","children":null,"spread":false},{"title":"style.scss <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 10.80KB </span>","children":null,"spread":false},{"title":"_shared.scss <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"webpack.config.js <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"PULL_REQUEST_TEMPLATE.md <span style='color:#111;'> 883B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE.md <span style='color:#111;'> 717B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE","children":[{"title":"SUPPORT.md <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"MODIFICATION.md <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"BUG.md <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"DOCS.md <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"FEATURE.md <span style='color:#111;'> 561B </span>","children":null,"spread":false}],"spread":true},{"title":"workflows","children":[{"title":"nodejs.yml <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"CONTRIBUTING.md <span style='color:#111;'> 7.06KB </span>","children":null,"spread":false},{"title":"CODEOWNERS <span style='color:#111;'> 200B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"sass-loader-example","children":[{"title":"index.js <span style='color:#111;'> 837B </span>","children":null,"spread":false},{"title":"style.scss <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"_shared.scss <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"webpack.config.js <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"webpack.test.js <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"workerPool.test.js <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"readBuffer.test.js <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"pitch.test.js <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"__snapshots__","children":[{"title":"pitch.test.js.snap <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"workerPool.test.js.snap <span style='color:#111;'> 251B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".prettierignore <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 531.11KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"workerPools.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"WorkerPool.js <span style='color:#111;'> 10.92KB </span>","children":null,"spread":false},{"title":"worker.js <span style='color:#111;'> 8.08KB </span>","children":null,"spread":false},{"title":"readBuffer.js <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"cjs.js <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"WorkerError.js <span style='color:#111;'> 798B </span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"husky.config.js <span style='color:#111;'> 123B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 7.19KB </span>","children":null,"spread":false},{"title":"commitlint.config.js <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":".prettierrc.js <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"lint-staged.config.js <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"babel.config.js <span style='color:#111;'> 289B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明