Closed
Description
Versions
1.6.0
Repro steps
- Create a project
- Configure the .angular-cli.json to Read a file from a parent folder
Observed behavior
Load file from an external folder now fails because of this check :
An asset cannot be read from a location outside the project
Introduced by the PR:
64c6031#diff-9eb0a75e499bdadd44d6dc62218812b8
could be possible introduce a parameter configuration as allowOutsideOutDir but for reading? something like :
"allowOutsideReadDir": true
It could be false by default and be enabled by the user only when he knows the security risk behind this kind of decision.
Side note the warning message could be improved indicating the assets failing
Desired behavior
Mention any other details that might be useful (optional)
If the idea above are ok for the project I could create a PR