javascriptcoffeescriptgruntjs

Compile directories of coffee into the same directories of JS


How can I do this simple command: coffee --bare --output js/ coffee/ in grunt-coffee config?


Solution

  • try

    {
      expand: true,
      cwd: 'coffee_dir',
      src: '**/*.coffee',
      dest: 'js_dir',
      ext: '.js'
    }