Created
June 25, 2012 04:44
-
-
Save DamonOehlman/2986574 to your computer and use it in GitHub Desktop.
Example using interleave to produce a CJS packaged version of a browser based lib
This file contains 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
//= github://Wolfy87/Color/color |
Probably worth noting that this isn't really the intended use of Interleave, it's more for building multiple package variants of the same source code (i.e. you use it yourself when writing a library). For example, see the pkg
directory in: https://github.com/DamonOehlman/matchme
Translating between module formats makes sense and seems straightforward. Packaging arbitrary scripts seems like it would be hard to tell what to export.
will definitely have to learn more about interleave. thanks for the tip.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install interleave:
Compile the file using interleave: