rollup.jsJavaScript 模块化工具
rollup.js 是下一代的 JavaScript 模块化工具,使用 ES2015 模块编写你的应用或者库,可以高效的绑定他们成为单个文件,在浏览器或者 Node.js 中使用,甚至是一些高级特性的绑定,比如 bindings 和 cycles。
rollup.js 类似 Browserify,生产包比 Browserify 小,或者是跟 Webpack 等价,因为 ES2015 模块比 CommonJS 模块高效。
代码示例:
AMD:
define(function () { 'use strict'; // This function gets included function cube ( x ) { // rewrite this as `square( x ) * x` // and see what happens! return x * x * x; } console.log( cube( 5 ) ); // 125 });
ES2015:
// This function gets included function cube ( x ) { // rewrite this as `square( x ) * x` // and see what happens! return x * x * x; } console.log( cube( 5 ) ); // 125
评论
TavernWeb 项目模块化与集成工具
Tavern项目目的是根据jar包进行Web项目模块化与集成的工具。目标是为常用开源组件提供模块化支持。Spring:为不同jar包提供不同ApplicationContext上下文,并支持双亲委托机
TavernWeb 项目模块化与集成工具
0
LorittaDiscord 模块化机器人
Loritta是一个Discord的多用途、多语言、可定制、模块化且非常可爱的机器人,可以让你的Discord服务器变得更好。如果你想在你的服务器上使用Loritta,而而不想弄乱托管内容,你可以添加
LorittaDiscord 模块化机器人
0
XpressEngineCMS 模块化框架
XpressEngine(即原ZeroboardXE或Zeroboard;以下XpressEngine简称XE)是韩国开发人员高英洙(音译)与开发自愿者共同开发的LGPL协议的开源项目,相比zerob
XpressEngineCMS 模块化框架
0