Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 01191df

Browse files
EC2 Default Userpetebacondarwin
EC2 Default User
authored andcommitted
chore(package.json): fix path to angular-load.min.js.map in "update-index-async" command
This fixes the 404 not found when it tries to retrieve this map file and can't because the path is wrong. Note that you won't see that error if you have JavaScript source maps turned off. Closes #197
1 parent 20e8bb2 commit 01191df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"preprotractor": "npm run update-webdriver",
3030
"protractor": "protractor e2e-tests/protractor.conf.js",
3131

32-
"update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + cat('app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\""
32+
"update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + sed(/sourceMappingURL=angular-loader.min.js.map/,'sourceMappingURL=bower_components/angular-loader/angular-loader.min.js.map','app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\""
3333
}
3434
}

0 commit comments

Comments
 (0)