From cc3f157efef9c9c9c639a600e214410fc5749a42 Mon Sep 17 00:00:00 2001 From: Gaurav Munjal Date: Wed, 24 Feb 2016 16:22:24 -0500 Subject: [PATCH] Do not minify assets/vendor.js due to bug --- ember-cli-build.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ember-cli-build.js b/ember-cli-build.js index d87f2a35..acb0084f 100644 --- a/ember-cli-build.js +++ b/ember-cli-build.js @@ -39,8 +39,15 @@ module.exports = function(defaults) { sourcemaps: { enabled: !isProductionLikeBuild }, - minifyCSS: { enabled: isProductionLikeBuild }, - minifyJS: { enabled: isProductionLikeBuild }, + minifyCSS: { + enabled: isProductionLikeBuild + }, + minifyJS: { + enabled: isProductionLikeBuild, + options: { + exclude: ["assets/vendor.js"] + } + }, tests: true, hinting: process.env.EMBER_CLI_TEST_COMMAND || !isProductionLikeBuild, @@ -52,6 +59,7 @@ module.exports = function(defaults) { } }); + app.import('bower_components/ember/ember-template-compiler.js'); app.import('vendor/hint.css'); app.import('vendor/drags.js');