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

Commit

Permalink
Fix building of the templates with RequireJS [fixes #367]
Browse files Browse the repository at this point in the history
  • Loading branch information
marian-r committed Jan 28, 2016
1 parent 286a078 commit 7658ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@ module.exports = function (grunt) {
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 { %>
mainConfigFile: '<%%= yeoman.app %>/scripts/main.js', // contains path specifications and nothing else important with respect to config
<% } %>
keepBuildDir: true,
dir: '.tmp/scripts',

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

0 comments on commit 7658ae2

Please sign in to comment.