From 7658ae21652d03def7f1f74b65892a14303b0e93 Mon Sep 17 00:00:00 2001 From: Marian Rusnak Date: Thu, 28 Jan 2016 00:02:11 +0000 Subject: [PATCH] Fix building of the templates with RequireJS [fixes #367] --- generators/app/templates/Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/app/templates/Gruntfile.js b/generators/app/templates/Gruntfile.js index da49055..a70fa22 100644 --- a/generators/app/templates/Gruntfile.js +++ b/generators/app/templates/Gruntfile.js @@ -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