-
Notifications
You must be signed in to change notification settings - Fork 20
your custom Template
anodynos edited this page Jun 29, 2013
·
1 revision
Creating your own custom templates is not APIized yet. But you can do it:
-
Clone this project.
-
Create your own one-to-one template as a method of
class ModuleGeneratorTemplates
. -
Add you template (method) name to Build.templates which currently knows only ['UMD', 'AMD', 'nodejs', 'combined'].
-
PR you code or just build and install it globally & locally - you are set!
Note: 'combined' template is not really defined in ModuleGeneratorTemplates.coffee
, since its more than just a one-to-one conversion.