Skip to content

Commit

Permalink
Disable EmberCLI JS minification
Browse files Browse the repository at this point in the history
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 [tricknotes/ember-cli-rails#124][124] and
[tricknotes/ember-cli-rails#123][123].

[123]: tricknotes/ember-cli-rails#123
[124]: tricknotes/ember-cli-rails#124
  • Loading branch information
seanpdoyle committed Nov 5, 2015
1 parent e2a8b39 commit 33e9f4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
------

Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 33e9f4e

Please sign in to comment.