cjsDelivery:将CommonJS语法JavaScript模块作为单个文件交付给客户端

时间:2021-05-13 17:24:46
【文件属性】:
文件名称:cjsDelivery:将CommonJS语法JavaScript模块作为单个文件交付给客户端
文件大小:41KB
文件格式:ZIP
更新时间:2021-05-13 17:24:46
PHP cjsDelivery 用PHP编写的CommonJS编译器 cjsDelivery允许您将JavaScript模块作为单个文件传递给客户端。 您添加的任何模块都将静态解决依赖关系。 这通常意味着您只需将cjsDelivery指向您的输入模块,所有依赖项都将得到神奇的解决。 该输出旨在使模块代码的开销尽可能小。 总共,编译器将只添加13行短代码。 语 最小标识符 全球 如何解决依赖关系 变更日志 积分和许可证 安装 通过在bash终端中运行以下单行命令进行全局安装: bash <( curl -s https://raw.github.com/mattcg/cjsdelivery/go/install ) 使用composer按项目安装 通过将composer.json作为必需项添加到composer.json中,获取composer并将cjsDelivery安装到您的项目中。 c
【文件预览】:
cjsDelivery-master
----.coveralls.yml(72B)
----src()
--------MattCG()
----cjsDelivery.php(298B)
----examples()
--------globals()
--------fruit()
----.travis.yml(133B)
----README.md(10KB)
----Makefile(2KB)
----tests()
--------modules()
--------src()
--------phpunit.xml(2KB)
--------bootstrap.php(155B)
----.gitignore(53B)
----bin()
--------delivery(717B)
----composer.json(645B)

网友评论