Skip to content

Instantly share code, notes, and snippets.

@mdedetrich
Created January 10, 2013 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdedetrich/4498453 to your computer and use it in GitHub Desktop.
Save mdedetrich/4498453 to your computer and use it in GitHub Desktop.
if config.get('cdn')
ss.client.packAssets(
keepOldFiles:true
cdn:
js: (file) -> (config.get('cdn') + '/' + file.path.replace(/^.*[\\\/]/, ''))
css: (file) -> (config.get('cdn') + '/' + file.path.replace(/^.*[\\\/]/, ''))
html: (file) -> (config.get('cdn') + '/' + file.path.replace(/^.*[\\\/]/, ''))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment