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 #384 from marian-r/fix-templates-with-requirejs
Browse files Browse the repository at this point in the history
Fix building of the templates with RequireJS [fixes #367]
  • Loading branch information
ruyadorno committed Jan 30, 2016
2 parents 286a078 + 7658ae2 commit 8e426e5
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 8e426e5

Please sign in to comment.