Skip to content

Instantly share code, notes, and snippets.

@asavin
Created February 28, 2014 11:45
Show Gist options
  • Select an option

  • Save asavin/9269718 to your computer and use it in GitHub Desktop.

Select an option

Save asavin/9269718 to your computer and use it in GitHub Desktop.
grunt.initConfig
componentbuild:
components:
options:
name: 'main'
configure: configure_component
src: 'src/components'
dest: 'src/files/components'
combine:
# because component-coffee doesn't adjust the script extensions in the require-alias
components:
input: 'src/files/components/main.js'
output: 'src/files/components/main.js'
tokens: [
{ token: '\.coffee\"', string: '.js\"' },
{ token: '\.ls\"', string: '.js\"' }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment