You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup an app, but I am not really happy with the project structure. I use aurelia-cli to build app. My which is to have all files like ts, less, in src folder, and after build move it to www so that this folder becomes app web root and contains only website files. My root of the project might have so many other configuration files, so I do not want to have that mess in the project root.
I have been able to configure everything as I want and only one thing is not working. First let me say what I did in aurelia.json
this is places where ш added www. Output for build process mode bundles to www folder. baseDir so that web server on au run --watch starts in the www folder as root.
But I have problem that vendor-bundle.js at the end generate
You can see that it adds www/ to app-bundle.js directory. So that when it is loaded, it cannot load app-bundle. If I fix it by hand, everything works until the new update of vendor-bundle file.
And there is not way to fix it from configuration as I can see. If I delete www in aurelia.json then is generates scripts in the other folder, not inside www, if ш keep it, it adds www to that path.
I think that baseDir has to be deleted from the path to file. So fix have to be applied in aurelia-cli. I tried to find it and make PR, but I could not find, it is too complicated for me.
The text was updated successfully, but these errors were encountered:
I am trying to setup an app, but I am not really happy with the project structure. I use aurelia-cli to build app. My which is to have all files like ts, less, in
src
folder, and after build move it towww
so that this folder becomes app web root and contains only website files. My root of the project might have so many other configuration files, so I do not want to have that mess in the project root.I have been able to configure everything as I want and only one thing is not working. First let me say what I did in
aurelia.json
this is places where ш added
www
. Output for build process mode bundles to www folder. baseDir so that web server onau run --watch
starts in the www folder as root.But I have problem that
vendor-bundle.js
at the end generateYou can see that it adds
www/
toapp-bundle.js
directory. So that when it is loaded, it cannot load app-bundle. If I fix it by hand, everything works until the new update of vendor-bundle file.And there is not way to fix it from configuration as I can see. If I delete www in
aurelia.json
then is generates scripts in the other folder, not inside www, if ш keep it, it adds www to that path.I think that
baseDir
has to be deleted from the path to file. So fix have to be applied in aurelia-cli. I tried to find it and make PR, but I could not find, it is too complicated for me.The text was updated successfully, but these errors were encountered: