exports-loader:出口装载机-源码

上传者: 42181888 | 上传时间: 2021-07-24 20:07:38 | 文件大小: 239KB | 文件类型: ZIP
出口装载机 允许为源文件设置exports module.exports / export 。 当源文件不包含导出或某些内容不导出时很有用。 有关兼容性问题的进一步提示,请查看官方文档的 。 :warning: 默认情况下加载器生成 ES 模块命名语法。 :warning: 请注意,原始代码中的现有导出 ( export / module.exports / exports ) 和导出新值可能会导致失败。 入门 首先,您需要安装exports-loader : $ npm install exports-loader --save-dev 排队 的| 或 (空格)允许分隔导出的syntax 、 name和alias 。 可以在阅读文档和语法示例。 :warning: 是查询字符串中的空格,因为您不能在 URL 中使用空格 然后将加载器添加到所需的import语句或require调用。 例如: import

文件下载

资源详情

[{"title":"( 48 个子文件 239KB ) exports-loader:出口装载机-源码","children":[{"title":"exports-loader-master","children":[{"title":".husky","children":[{"title":"commit-msg <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"pre-commit <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 2.11KB </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;'> 718B </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;'> 689B </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;'> 562B </span>","children":null,"spread":false}],"spread":true},{"title":"workflows","children":[{"title":"nodejs.yml <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"CONTRIBUTING.md <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"CODEOWNERS <span style='color:#111;'> 200B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"cjs.test.js <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"loader.test.js <span style='color:#111;'> 10.49KB </span>","children":null,"spread":false},{"title":"__snapshots__","children":[{"title":"loader.test.js.snap <span style='color:#111;'> 57.00KB </span>","children":null,"spread":false},{"title":"validate-options.test.js.snap <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"validate-options.test.js <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"simple.js <span style='color:#111;'> 456B </span>","children":null,"spread":false},{"title":"inline.js <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"helpers","children":[{"title":"index.js <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"readAsset.js <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"readAssets.js <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"execute.js <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"getModuleSource.js <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"normalizeErrors.js <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"getWarnings.js <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"compile.js <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"getErrors.js <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"getCompiler.js <span style='color:#111;'> 1015B </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;'> 990.12KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"utils.js <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"options.json <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"cjs.js <span style='color:#111;'> 69B </span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"commitlint.config.js <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 12.83KB </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 65B </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,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明