Rename src/app/


#1

Hello, I’m starting a new project and I would love to use Ionic on it.

Starting to set up the project I found that while Angular doesn’t require any specific folder structure, when I try to rename the src folder to sources and the app folder to application the ionic serve command show the following message:

Error: /project/src/app/main.ts was not found. The “main.dev.ts” and “main.prod.ts” files have been deprecated. Please cr
eate a new file “main.ts” containing the content of “main.dev.ts”, and then delete the deprecated files.

Clearly the problem is that the path src/app is hard coded somewhere, how can I rename it?

Thank you for you advise!


Rename default folders