Description
TypeScript does not build as part of PrepareDevelopmentEnvironment task. If you clone the repository fresh (or delete the dist folder) then you will get a mapping error when running the PrepareDevelopmentEnvironment task. It makes sense to build the TypeScript before this task runs.
This would likely be missed by anyone doing active development as they are likely to have built the TypeScript at least once. This problem is most likely to impact new contributors.
Steps to reproduce
Steps to reproduce the behaviour:
Clone the repository (or delete the src\solutions\devhub_DevelopmentHub_Develop\WebResources\Scripts\dist folder for the devhub_DevelopmentHub_Develop solution).
Run through the standard configuration steps to get Dev Hub deploying to a new environment.
Run the PrepareDevelopmentEnvironment task and select the devhub_DevelopmentHub_Develop solution.
JS Mapping file error.
Expected behaviour
The devhub_DevelopmentHub_Develop solution should be deployed to the target successfully without any JS Mapping file errors.
Description TypeScript does not build as part of PrepareDevelopmentEnvironment task. If you clone the repository fresh (or delete the dist folder) then you will get a mapping error when running the PrepareDevelopmentEnvironment task. It makes sense to build the TypeScript before this task runs.
This would likely be missed by anyone doing active development as they are likely to have built the TypeScript at least once. This problem is most likely to impact new contributors.
Steps to reproduce Steps to reproduce the behaviour:
src\solutions\devhub_DevelopmentHub_Develop\WebResources\Scripts\dist
folder for the devhub_DevelopmentHub_Develop solution).PrepareDevelopmentEnvironment
task and select the devhub_DevelopmentHub_Develop solution.Expected behaviour The devhub_DevelopmentHub_Develop solution should be deployed to the target successfully without any JS Mapping file errors.
Screenshots![image](https://user-images.githubusercontent.com/59883805/127881247-4960c724-279c-4ac4-bcb0-6a75ca23a03b.png)
Environment: