Skip to content

Instantly share code, notes, and snippets.

@jupiterjs
Created March 29, 2011 22:06
Show Gist options
  • Save jupiterjs/893442 to your computer and use it in GitHub Desktop.
Save jupiterjs/893442 to your computer and use it in GitHub Desktop.
What steal does

you can steal all your scripts:

steal.plugins('foo/bar','abc')

then run the build app:

steal buildjs mypage.html

It finds all scripts, minifies, combines them into 1.

But you can also do a multi-build.

This takes several pages and combines shared scripts to be loaded in parallel. This usually is done so 2 scripts load per page. This is good for pages that have a lot of shared scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment