-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multifile compilation support and tinier output with --js option #100
base: master
Are you sure you want to change the base?
Conversation
I just appended this request with support for hardcoded helpers from the CLI. |
I was just about to open an issue for adding this. Beautiful, thank you so much. |
Glad I could help! Let me know if you need help |
Hi this patch does the following:
UPDATE : I just added namespacing for templates, based on the directory structure.
So you can have this structure:
myTempl.coffee => this.templates["myTempl"] = ...
mySpecificTempl.coffee => this.templates["myModule"]["mySpecificTempl"] = ...
coffeekup --js ./templates
which yields a single 'templates.js' . The output file name is coming from thenamespace
option.4a. Updated README to give examples of using the extended CLI and also added ./browser/examples/sugar to give you an idea the improvements