The standard require.js file is around 5.5KB when minified via Closure Compiler and gzipped.
RequireJS has an optimization tool that does the following
- Combines related scripts together into build layers and minifies them via UglifyJS (the default) or Closure Compiler (an option when using Java).
- Optimizes CSS by inlining CSS files referenced by @import and removing comments.
RequireJS works in IE 6+, Firefox 2+, Safari 3.2+, Chrome 3+, and Opera 10+.