Skip to content

mariusGundersen/r.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of the require optimizer. Only the core features of the original optimizer will remain, everything else will be removed. The goal is to create a nodeJS package for finding the dependencies between AMD modules, putting them in order from the leaf modules to the root module, and turning anonymous modules into named modules.

This project will not concatenate the files (there are other projects for that) and it will not minify/uglify/compile the files (there are other projects for that). The original require optimizer also optimized CSS, this one will not do that, it will only optimize JavaScript AMD modules. The only thing it will do is rearrange the modules in a file and turn the anonymous modules into named modules. This step will probably require a sourcemap to be generated for each file, so that sourcemaps can be correctly generated by a minifier/concatenater.

This project will take a list of files as input, along with a config file, and return an ordered list of files as output. The output will be a larger set of files than the input, as it will contain the dependencies (and the dependencies of the dependencies, etc) of the input files.

About

Runs RequireJS in Node and Rhino, and used to run the RequireJS optimizer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Other 0.3%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy