Created
June 11, 2012 21:33
-
-
Save markmarkoh/2912877 to your computer and use it in GitHub Desktop.
multi profile build output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules: [{ | |
name: "foo/bar/bop", | |
override: { | |
pragmas: { | |
out: "bop-build.js" | |
} | |
} | |
}, { | |
name: "other", | |
override: { | |
pragmas: { | |
out: "other-build.js" | |
} | |
} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the idea is that you set a baseUrl and and dir: and it will output the built modules in there:
then there will be a built-dir/other.js and a built-dir/foo/bar/bop.js file, as well as all the other files in the basesUrl. If you do not want the other files, then try doing multiple single file builds driven either by a shell script or a node script like this:
https://gist.github.com/1509135