I am working on the Aurelia Sample app and would like to deploy the build output(vendor-bundle.js and app-bundle.js) to www-root\scripts
instead of the default scripts
directory. So I tried modifying the aurelia.json to look like:
...
"testFramework": {
"id": "jasmine",
"displayName": "Jasmine"
},
"build": {
"targets": [
{
"id": "web",
"displayName": "Web",
"output": "www-root\\scripts"
}
],
"loader": {
...
Which indeed results in the bundle files to be output to www-root\scripts
however since I have defined an HTTP.SYS alias for my apllication e.g. the landing URL is: http://localhost/MyAlias/ when I try to browse the app it tries to load the app-bundle.js from: http://localhost/MyAlias/www-root/scripts/app-bundle.js
instead of http://localhost/MyAlias/scripts/app-bundle.js
.
The vendor-bundle.js however is correctly downloaded from: http://localhost/MyAlias/scripts/vendor-bundle.js
I cannot figure out what to modify to make this get the app-bundle.js from the correct path.
Any help is very much appreciated.
require.js
andtext.js
or anything else that I may want from being copied? Sorry a complete gulp virgin here! – Utas