Skip to content

Commit

Permalink
#59
Browse files Browse the repository at this point in the history
  • Loading branch information
ffaubry committed Nov 17, 2020
1 parent 62bee7a commit 9821bb2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.2.2]
- Fixed issue [#59](https:/Esri/ember-cli-amd/issues/59) related to rootURL in tests

## [3.2.1]
- Fixed issue [#58](https:/Esri/ember-cli-amd/issues/58) related to rootURL

## [3.2.0]
- Added `inline` option, which will inject the `amd-loading` script directly into index.html when set to true.

Expand Down
2 changes: 1 addition & 1 deletion lib/convert-to-amd-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = class ConvertToAMD extends Filter {
indent_size: 2,
max_preserve_newlines: 1
});
scriptsToLoad.push(`"${this.indexHtmlCaches[relativePath].afterLoadingScript}"`);
scriptsToLoad.push(`"${this.rootURL}${this.indexHtmlCaches[relativePath].afterLoadingScript}"`);
}

// Replace the original ember scripts by the amd ones
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-cli-amd",
"version": "3.2.1",
"version": "3.2.2",
"description": "Ember CLI Addon that can load AMD modules.",
"scripts": {
"build": "ember build --environment=production",
Expand Down

0 comments on commit 9821bb2

Please sign in to comment.