Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
Merge pull request #382 from mteodori/issue-381
Browse files Browse the repository at this point in the history
fixes #381 new requirejs build with almond does not compile with coff…
  • Loading branch information
ruyadorno committed Jan 24, 2016
2 parents 087ff1a + be4d3fb commit 1102e60
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions generators/app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,17 @@ module.exports = function (grunt) {
}],

modules: [{name: 'main'}],
baseUrl: '<%%= yeoman.app %>/scripts',
<% if (hasCoffee) { %>
baseUrl: '.tmp/scripts',
paths: {
'main': '../../.tmp/scripts/main'
},
keepBuildDir: true,
allowSourceOverwrites: true,
mainConfigFile: '.tmp/scripts/main.js', // contains path specifications and nothing else important with respect to config
<% } else { %>
baseUrl: '<%%= yeoman.app %>/scripts',
<% } %>
mainConfigFile: '<%%= yeoman.app %>/scripts/main.js', // contains path specifications and nothing else important with respect to config
<% } %>
dir: '.tmp/scripts',

optimize: 'none', // optimize by uglify task
Expand Down

0 comments on commit 1102e60

Please sign in to comment.