gulp-es6-module-to-closure:编译 importexport => goog.requiregoog.provide-源码

上传者: 42116701 | 上传时间: 2021-07-06 17:06:43 | 文件大小: 23KB | 文件类型: ZIP
gulp-es6-module-to-closure 编译 ES6 import/export => Google Closure goog.require/goog.provide 注意:为了支持 ES6 特性,引入了一些特殊规则。 请参见下面的示例,尤其是当您使用现有代码中的翻译库时。 安装 npm install gulp-es6-module-to-closure --save-dev 用法 var es6ModuleToClosure = require ( "gulp-es6-module-to-closure" ) ; gulp . src ( "./src/**/*.js" ) . pipe ( es6ModuleToClosure ( { root : 'src' , namespace : "prefix.name.space" } ) )

文件下载

资源详情

[{"title":"( 48 个子文件 23KB ) gulp-es6-module-to-closure:编译 importexport => goog.requiregoog.provide-源码","children":[{"title":"gulp-es6-module-to-closure-master","children":[{"title":".gitignore <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":".bowerrc <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"Gruntfile.js <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"spec","children":[{"title":"browser-test.tmpl <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"simple-compiler-spec.js <span style='color:#111;'> 7.76KB </span>","children":null,"spread":false},{"title":".bowerrc <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"gulpfile.js <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"header-extractor-spec.js <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"fixtures2","children":[{"title":"src","children":[{"title":"import.js <span style='color:#111;'> 54B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"code-generator-spec.js <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"b_components","children":[{"title":"package1","children":[{"title":"dist","children":[{"title":"index.js <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":"lib.js <span style='color:#111;'> 11B </span>","children":null,"spread":false}],"spread":false},{"title":"bower.json <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"browser-test.js <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"src","children":[{"title":"export-4.js <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"export2.js <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"import-5.js <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"utf8.js <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"importdefault.js <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"exportdefault.js <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"export-5.js <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"export-3.js <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"import-3.js <span style='color:#111;'> 61B </span>","children":null,"spread":false},{"title":"import-4.js <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":"import-bower.js <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"import.js <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"export.js <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"export-parent.js <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"import-child.js <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":"ns","children":[{"title":"export-child.js <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"import.js <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"export.js <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"import-parent.js <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":false},{"title":"sjis.js <span style='color:#111;'> 33B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"path-resolver-spec.js <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"filename-converter.js <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"path-resolver.js <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"header-extractor.js <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"bower-name-resolver.js <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"default-name-resolver.js <span style='color:#111;'> 854B </span>","children":null,"spread":false},{"title":"bower-collector.js <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"simple-compiler.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"code-generator.js <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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