diff --git a/src/main/resources/assets/app.build.js b/src/main/resources/assets/app.build.js index 5fe440838..21e1968dc 100644 --- a/src/main/resources/assets/app.build.js +++ b/src/main/resources/assets/app.build.js @@ -1,35 +1,38 @@ ({ - appDir: "./app", - baseUrl: "scripts", - mainConfigFile: "./app/scripts/main.js", - dir: "./build", - pragmasOnSave: { - excludeTpl: true + appDir: './app', + baseUrl: 'scripts', + mainConfigFile: './app/scripts/main.js', + dir: './build', + pragmasOnSave: { + excludeCoffeeScript: true, + excludeTpl: true + }, + excludeShallow: [ + 'css-builder', + 'less-builder', + 'lessc-server' + ], + findNestedDependencies: true, + optimize: 'uglify', + optimizeCss: 'standard.keepLines', + fileExclusionRegExp: /^\.|spec|tests/, + generateSourceMaps: false, + preserveLicenseComments: false, + modules: [ + { + name: 'main', + include: [ + 'styles' + ], + excludeShallow: [ + 'spec_runner' + ] }, - excludeShallow: [ - 'css-builder', - 'less-builder', - 'lessc-server' - ], - findNestedDependencies: true, - optimize: "uglify", - fileExclusionRegExp: /^\.|spec|tests/, - optimizeCss: "standard.keepLines", - generateSourceMaps: false, - preserveLicenseComments: false, - modules: [ - { - name: "main", - include: [ - "jquery", - "styles" - ], - excludeShallow: [ - 'spec_runner' - ] - }, - { - name: "styles" - } - ] + { + name: 'styles' + } + ], + uglify: { + beautify: false + } })