So I used Aurelia CLI 1.0.0-beta.?? (pre 13) to “generate” aurealia base within an MVC app following the instructions found on this site. (Basically, create the .NetCore project, go into the .proj directory and type
au new --here. I used WebPack and Babel. While that got my project up and running, it only works on my local dev environment. When I publish my code to an Azure App Service, I start getting errors telling me that
babel-polyfill can only be loaded once.
I upgraded to CLI 1.0.0-beta.13 and went through the same steps. Now, I can’t even run the project in my dev environment because I get a 404 on
dist/app.bundle.js. I notice that in the dist folder, there is a
runtime~app.bundle.js. However, if I update my
Index.js file to load
runtime~app.bundle.js, I get no errors – but nothing loads.
Has anyone been successful in getting a .NetCore MVC/aurelia app running in production?