I have an Angular 2 rc-2 app with basic routing implemented.The paths are /path1 which is the default path and /path2.The home path /
I ran into an issue where I had my angular.json file set up correctly with:
"assets": [
"src/assets",
"src/web.config"
],
but the web.config file was not being copied into the built dist/ folder.
I did not think about the fact that I was also using a custom webpack config file (extra-webpack.config.js) with a CopyPlugin plugin. Once I added the web.config path to my custom webpack config and re-built my project, the web.config file was there!