Skip to content

Commit

Permalink
Generate Rails manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpdoyle committed Nov 7, 2015
1 parent 2f2a47e commit 728fc51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
master
------

* Generate Rails `manifest.json` during production build. [#17].

[#17]: https://github.com/rondale-sc/ember-cli-rails-addon/pull/17

0.0.13
------

Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ module.exports = {
app.options.storeConfigInMeta = false;
app.options.SRI = app.options.SRI || {};
app.options.SRI.enabled = false;
app.options.fingerprint = app.options.fingerprint || {};
app.options.fingerprint.generateRailsManifest = true;

if (process.env.DISABLE_FINGERPRINTING === 'true') {
app.options.fingerprint = app.options.fingerprint || {};
app.options.fingerprint.enabled = false;
}

Expand Down

0 comments on commit 728fc51

Please sign in to comment.