Skip to content

Commit

Permalink
Fix paths to files which should be uploaded to S3
Browse files Browse the repository at this point in the history
The generated files via `ember build --env=production` are located
inside the `dist/globals` directory.

(cherry picked from commit d2e0ae9)
  • Loading branch information
pangratz authored and bmac committed Jan 18, 2016
1 parent 02bdc54 commit 394fe1d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/s3ProjectConfig.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
function fileMap(revision,tag,date) {
return {
'ember-data.js': fileObject('ember-data', '.js', 'text/javascript', revision, tag, date),
'ember-data.js.map': fileObject('ember-data.js', '.map', 'application/json', revision, tag, date),
'ember-data.min.js': fileObject('ember-data.min', '.js', 'text/javascript', revision, tag, date),
'ember-data.prod.js': fileObject('ember-data.prod', '.js', 'text/javascript', revision, tag, date),
'docs/data.json': fileObject('ember-data-docs', '.json', 'application/json', revision, tag, date)
'globals/ember-data.js': fileObject('ember-data', '.js', 'text/javascript', revision, tag, date),
'globals/ember-data.js.map': fileObject('ember-data.js', '.map', 'application/json', revision, tag, date),
'globals/ember-data.min.js': fileObject('ember-data.min', '.js', 'text/javascript', revision, tag, date),
'globals/ember-data.prod.js': fileObject('ember-data.prod', '.js', 'text/javascript', revision, tag, date),
'docs/data.json': fileObject('ember-data-docs', '.json', 'application/json', revision, tag, date)
};
}

Expand Down

0 comments on commit 394fe1d

Please sign in to comment.