From 33e9f4e4c652bce1beb3af2e5f0bba4d110a7413 Mon Sep 17 00:00:00 2001 From: Sean Doyle Date: Thu, 29 Oct 2015 09:42:47 -0400 Subject: [PATCH] Disable EmberCLI JS minification When precompiling assets in production, we ensure that we are not minifying the JavaScript assets twice. Duplicating minification can slow down assets precompilation considerably. Closes [thoughtbot/ember-cli-rails#124][124] and [thoughtbot/ember-cli-rails#123][123]. [123]: https://github.com/thoughtbot/ember-cli-rails/pull/123 [124]: https://github.com/thoughtbot/ember-cli-rails/pull/124 --- CHANGELOG.md | 6 ++++++ index.js | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcce4f0..1d41f82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ master ------ +* Disable EmberCLI minification (closes [thoughtbot/ember-cli-rails#123][123] and + [thoughtbot/ember-cli-rails#124][124]) + +[123]: https://github.com/thoughtbot/ember-cli-rails/pull/123 +[124]: https://github.com/thoughtbot/ember-cli-rails/pull/124 + 0.0.13 ------ diff --git a/index.js b/index.js index d115239..2245aa5 100644 --- a/index.js +++ b/index.js @@ -22,6 +22,7 @@ module.exports = { }, included: function(app) { + app.options.minifyJS = false; app.options.storeConfigInMeta = false; app.options.SRI = app.options.SRI || {}; app.options.SRI.enabled = false;