微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ESL <a href="https://github.com/ecomfe/esl/#esl-vs-requirejs"></a>ESL vs RequireJS<a href="https://github.com/ecomfe/esl/#cdn"></a>CDN[](<a href="https://github.c 企业级标准加载器

程序名称:ESL <a href="https://github.com/ecomfe/esl/#esl-vs-requirejs"></a>ESL vs RequireJS<a href="https://github.com/ecomfe/esl/#cdn"></a>CDN[](<a href="https://github.c

授权协议: BSD

操作系统: 跨平台

开发语言: JavaScript

ESL <a href="https://github.com/ecomfe/esl/#esl-vs-requirejs"></a>ESL vs RequireJS<a href="https://github.com/ecomfe/esl/#cdn"></a>CDN[](<a href="https://github.c 介绍

ESL 是一个浏览器端、符合AMD的标准加载器,适合用于现代Web浏览器端应用的入口与模块管理。

ESL vs RequireJS

  • 具有更小的体积 (Smaller)

  • 具有更高的性能 (Higher performance)

  • 不支持在非浏览器端使用 (browser only)

  • 尚未支持以下配置项:shim (shim is not supported)

  • 支持norequests指定无需请求的模块 (norequests is supported)

ESL的配置项 (CONfigURATION OPTIONS)

查看 ESL的配置文档

CDN

当前版本的CDN引用:(latest)

<!-- normal --><script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-2/esl.js"></script><!-- min --><script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-2/esl.min.js"></script><!-- source --><script src="http://s1.bdstatic.com/r/www/cache/ecom/esl/1-8-2/esl.source.js"></script>

过往版本

体积对比 (FILE SIZES)

uglifyjs -mc + gzip

  • esl 1.8.2 normal 3487 bytes

  • esl 1.8.2 min 3208 bytes

  • requirejs 2.1.11 6289 bytes

性能对比
(PERFORMANCE)

查看
wiki文档

[](https://github.com/ecomfe/esl/#%E6%89%A9%E5%B1%95%E9%98%85%E8%AF%BB-

see-also)扩展阅读 (SEE ALSO)

ESL <a href="https://github.com/ecomfe/esl/#esl-vs-requirejs"></a>ESL vs RequireJS<a href="https://github.com/ecomfe/esl/#cdn"></a>CDN[](<a href="https://github.c 官网

https://github.com/ecomfe/esl/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐