codesandbox / codesandbox-client

An online IDE for rapid web development
https://codesandbox.io
Other
13.03k stars 2.27k forks source link

Angular: Renaming the '.angular-cli.json' file to 'angular.json' breaks the official template #6243

Open andreifloricel opened 2 years ago

andreifloricel commented 2 years ago

🐛 bug report

Preflight Checklist

Description of the problem

Renaming the '.angular-cli.json' (which is deprecated since Angular v6 - 2018.05) file to now standard 'angular.json' breaks the angular official template

How has this issue affected you? What are you trying to accomplish?

The fact that the Angular configuration file (angular.json) is not complying to the frameworks standard format leads to broken workspaces as soon as you have a more complex application. This limitation practically makes Codesandbox unusable for real life examples.

To Reproduce

  1. Create a standard Angular sandbox
  2. Rename '.angular-cli.json' to 'angular.json'

Link to sandbox: sandbox-with-renamed-config-file (optional)

Your Environment

Software Name/Version
Сodesandbox
Browser Chrome
Operating System Mac
JamesACS commented 2 years ago

Thanks for raising this @andreifloricel - I've flagged this internally