Skip to content
/ bdBuild Public
forked from altoviso/bdBuild

a program to optimize a browser-based JavaScript application

License

Notifications You must be signed in to change notification settings

rcgill/bdBuild

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bdBuild - The Backdraft Build Program

bdBuild processes the set of resources that comprise a browser-based program and outputs an optimized version of those resources. It is designed to be complimentary to bdLoad, the backdraft loader. It can also be configured to work with other AMD-compliant loaders.

The following optimizations are planned for the first release:

  • Aggregating sets of AMD-compliant modules into a single resources
  • Copying development trees into release trees
  • Package renaming and mapping
  • Removing has.js feature tests for features known at build time
  • Optimizing run-time has.js to include only those features used by the program
  • Processing dojo build pragmas
  • Option to output a single-file program, thereby eliminating the need for any loader

Unlike several competing systems, bdBuild parses javascript resources to effect some of this processing. This allows for several advanced optimization techniques (e.g., static analysis and data flow analysis) that will be included in future versions. Although bdBuild is part of the backdraft framework, it may be used with any html/javascript application.

Status

bdBuild is currently pre-alpha. Expect an alpha release in Jan 2011.

License

bdBuild is free and open source software available under a BSD-style license.

See Also

The backdraft framwork

bdLoad (the backdraft loader)

bdParse (a javascript parser, implemented in javascript)

About

a program to optimize a browser-based JavaScript application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published