Created
December 11, 2013 14:33
-
-
Save nhajratw/7911382 to your computer and use it in GitHub Desktop.
Trying to define angular module using coffeescript per angular-lineman-template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Exports an object that defines | |
* all of the configuration needed by the projects' | |
* depended-on grunt tasks. | |
* | |
* You can find the parent object in: node_modules/lineman/config/application.coffee | |
*/ | |
module.exports = require(process.env['LINEMAN_MAIN']).config.extend('application', { | |
js: { | |
// if using coffeescript and your angular.module is defined in a .coffee file, files.coffee.generated comes first | |
src: ["<%= files.js.vendor %>", "<%= files.coffee.generated %>", "<%= files.js.app %>", "<%= files.ngtemplates.dest %>"], | |
dest: "<%= files.js.concatenated %>" | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment