Skip to content

Project based configuration

Adrian Lee edited this page Dec 23, 2015 · 3 revisions

Beside of global coffee-compile configurations, you can also add a coffee-compile.cson to the root of your project to override global coffee-compile configurations.

Available options are:

  • noTopLevelFunctionWrapper (true | false)
  • compileOnSave (true | false)
  • compileOnSaveWithoutPreview (true | false)
  • focusEditorAfterCompile (true | false)
  • compileCjsx (true | false)
  • flatten (true | false)
  • cwd (string, default '.')
  • destination (string, default '.')
  • source (string, default '.')

Sample config:

cwd: 'src'
destination: 'bin'
compileOnSave: true
Clone this wiki locally
You can’t perform that action at this time.